]> granicus.if.org Git - llvm/commit
[X86] Move getX86ConditionCode() from X86FastISel.cpp to X86InstrInfo.cpp. NFC
authorIgor Breger <igor.breger@intel.com>
Thu, 11 May 2017 06:36:37 +0000 (06:36 +0000)
committerIgor Breger <igor.breger@intel.com>
Thu, 11 May 2017 06:36:37 +0000 (06:36 +0000)
commitbe8fe1635c192b8d77787a5e955c1b7a1b7cda39
tree683a9318806b0937c4ecab1ce55f3574d365924a
parent4638198b511f85e7a6bb3f5e11be62540edfe2de
[X86] Move getX86ConditionCode() from X86FastISel.cpp to X86InstrInfo.cpp. NFC

Summary:
Move getX86ConditionCode() from X86FastISel.cpp to X86InstrInfo.cpp so it can be used by GloabalIsel instruction selector.
This is a pre-commit for a patch I'm working on to support G_ICMP. NFC.

Reviewers: zvi, guyblank, delena

Reviewed By: guyblank, delena

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D33038

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h