Add early if-conversion support to X86.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 4 Jul 2012 00:09:58 +0000 (00:09 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Wed, 4 Jul 2012 00:09:58 +0000 (00:09 +0000)
commit59bde4d8a1065d3c48c5ea94a570b2c4d2f294a8
treef600a6525ac42bdb4b175f04c7f0f46375483655
parent33242fd3ed5586091e73254b58dd1825e9d53c60
Add early if-conversion support to X86.

Implement the TII hooks needed by EarlyIfConversion to create cmov
instructions and estimate their latency.

Early if-conversion is still not enabled by default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159695 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86TargetMachine.cpp
test/CodeGen/X86/early-ifcvt.ll [new file with mode: 0644]