mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55999 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
820c83bf6c
commit
e3b4c0e176
@ -390,6 +390,8 @@ def IMPLICIT_DEF : Instruction {
|
|||||||
let AsmString = "";
|
let AsmString = "";
|
||||||
let Namespace = "TargetInstrInfo";
|
let Namespace = "TargetInstrInfo";
|
||||||
let neverHasSideEffects = 1;
|
let neverHasSideEffects = 1;
|
||||||
|
let isReMaterializable = 1;
|
||||||
|
let isAsCheapAsAMove = 1;
|
||||||
}
|
}
|
||||||
def SUBREG_TO_REG : Instruction {
|
def SUBREG_TO_REG : Instruction {
|
||||||
let OutOperandList = (ops unknown:$dst);
|
let OutOperandList = (ops unknown:$dst);
|
||||||
|
Loading…
Reference in New Issue
Block a user