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 | e3b4c0e17698ea2ef13605b8d256c73b5abc38bb (patch) | |
tree | 2848ed433d0badc2b87dacd8ede112f75f13f2e9 | |
parent | 820c83bf6c1bc6edd025ed2953b36d9e1433adf5 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55999 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Target.td | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/Target.td b/lib/Target/Target.td index 8cc348d177..e07529d708 100644 --- a/lib/Target/Target.td +++ b/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); |