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
This commit is contained in:
Dan Gohman 2008-09-09 18:25:28 +00:00
parent 4e518041d3
commit 4fcccd8d66
1 changed files with 2 additions and 0 deletions

View File

@ -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);