diff options
author | Dan Gohman <gohman@apple.com> | 2007-06-26 00:48:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-06-26 00:48:07 +0000 |
commit | d45eddd214061bf12ad1e6b86497a41725e61d75 (patch) | |
tree | 3d8ab1885d70f83c2b648cf77dc11710177e246b /utils/TableGen/CodeGenInstruction.h | |
parent | 9a0930dbd99af7958ef24bb4887ae6b1e294532f (diff) | |
download | external_llvm-d45eddd214061bf12ad1e6b86497a41725e61d75.zip external_llvm-d45eddd214061bf12ad1e6b86497a41725e61d75.tar.gz external_llvm-d45eddd214061bf12ad1e6b86497a41725e61d75.tar.bz2 |
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
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.h')
-rw-r--r-- | utils/TableGen/CodeGenInstruction.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.h b/utils/TableGen/CodeGenInstruction.h index 4f76de8..54d9b3f 100644 --- a/utils/TableGen/CodeGenInstruction.h +++ b/utils/TableGen/CodeGenInstruction.h @@ -91,6 +91,7 @@ namespace llvm { bool isConvertibleToThreeAddress; bool isCommutable; bool isTerminator; + bool isReMaterializable; bool hasDelaySlot; bool usesCustomDAGSchedInserter; bool hasVariableNumberOfOperands; |