1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

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 bcf0165453
commit 88053b82e5

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