mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
AArch64: fix EXPENSIVE_CHECKS for arm64_32.
For some reason I'd decided to mark the end-result of a GOT load as dead. It's clearly not (necessarily). llvm-svn: 371883
This commit is contained in:
parent
cef0ab918a
commit
edcafcb5d1
@ -506,7 +506,7 @@ bool AArch64ExpandPseudo::expandMI(MachineBasicBlock &MBB,
|
||||
unsigned Reg32 = TRI->getSubReg(DstReg, AArch64::sub_32);
|
||||
unsigned DstFlags = MI.getOperand(0).getTargetFlags();
|
||||
MIB2 = BuildMI(MBB, MBBI, MI.getDebugLoc(), TII->get(AArch64::LDRWui))
|
||||
.addDef(Reg32, RegState::Dead)
|
||||
.addDef(Reg32)
|
||||
.addReg(DstReg, RegState::Kill)
|
||||
.addReg(DstReg, DstFlags | RegState::Implicit);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user