Revert the earlier change that removed the M_REMATERIALIZABLE machine
authorDan Gohman <gohman@apple.com>
Tue, 26 Jun 2007 00:48:07 +0000 (00:48 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 26 Jun 2007 00:48:07 +0000 (00:48 +0000)
commitd45eddd214061bf12ad1e6b86497a41725e61d75
tree3d8ab1885d70f83c2b648cf77dc11710177e246b
parent9a0930dbd99af7958ef24bb4887ae6b1e294532f
Revert the earlier change that removed the M_REMATERIALIZABLE machine
instruction flag, and use the flag along with a virtual member function
hook for targets to override if there are instructions that are only
trivially rematerializable with specific operands (i.e. constant pool
loads).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37728 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
include/llvm/Target/TargetInstrInfo.h
lib/Target/ARM/ARMInstrInfo.cpp
lib/Target/ARM/ARMInstrInfo.h
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb.td
lib/Target/Target.td
lib/Target/X86/X86InstrFPStack.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.h
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86InstrMMX.td
lib/Target/X86/X86InstrSSE.td
utils/TableGen/CodeGenInstruction.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/InstrInfoEmitter.cpp