diff options
author | Dan Gohman <gohman@apple.com> | 2008-09-09 18:25:28 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-09-09 18:25:28 +0000 |
commit | 4fcccd8d66aace134ec211e0104aa3747d15b188 (patch) | |
tree | 7cea3b652a5cf1109d20ef72737c6e892a289244 /llvm/lib/Target | |
parent | 4e518041d3bde1f5dfa6553560e36ede34afa41a (diff) | |
download | bcm5719-llvm-4fcccd8d66aace134ec211e0104aa3747d15b188.tar.gz bcm5719-llvm-4fcccd8d66aace134ec211e0104aa3747d15b188.zip |
Mark IMPLICIT_DEF as being rematerializable and cheap-as-a-move.
It's already special-cased and treated as rematerializable within
LiveIntervals; this allows it to be handled by other passes
such as TwoAddressInstrctionPass.
llvm-svn: 55999
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r-- | llvm/lib/Target/Target.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Target/Target.td b/llvm/lib/Target/Target.td index 8cc348d1779..e07529d708e 100644 --- a/llvm/lib/Target/Target.td +++ b/llvm/lib/Target/Target.td @@ -390,6 +390,8 @@ def IMPLICIT_DEF : Instruction { let AsmString = ""; let Namespace = "TargetInstrInfo"; let neverHasSideEffects = 1; + let isReMaterializable = 1; + let isAsCheapAsAMove = 1; } def SUBREG_TO_REG : Instruction { let OutOperandList = (ops unknown:$dst); |