mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-26 13:10:42 +00:00
movl is a cheaper way to materialize 0 without clobbering EFLAGS than movabsq.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97227 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d712783492
commit
6fe0df2abb
@ -1083,7 +1083,7 @@ void X86InstrInfo::reMaterialize(MachineBasicBlock &MBB,
|
||||
case X86::MOV8r0: Opc = X86::MOV8ri; break;
|
||||
case X86::MOV16r0: Opc = X86::MOV16ri; break;
|
||||
case X86::MOV32r0: Opc = X86::MOV32ri; break;
|
||||
case X86::MOV64r0: Opc = X86::MOV64ri; break;
|
||||
case X86::MOV64r0: Opc = X86::MOV64ri64i32; break;
|
||||
}
|
||||
Clone = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user