mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-03 18:32:50 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131519 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7d336c0c68
commit
141ec63962
@ -4866,13 +4866,13 @@ ARMTargetLowering::EmitAtomicCmpSwap(MachineInstr *MI,
|
||||
|
||||
MachineRegisterInfo &MRI = BB->getParent()->getRegInfo();
|
||||
unsigned scratch =
|
||||
MRI.createVirtualRegister(isThumb2 ? ARM::tGPRRegisterClass
|
||||
MRI.createVirtualRegister(isThumb2 ? ARM::rGPRRegisterClass
|
||||
: ARM::GPRRegisterClass);
|
||||
|
||||
if (isThumb2) {
|
||||
MRI.constrainRegClass(dest, ARM::tGPRRegisterClass);
|
||||
MRI.constrainRegClass(oldval, ARM::tGPRRegisterClass);
|
||||
MRI.constrainRegClass(newval, ARM::tGPRRegisterClass);
|
||||
MRI.constrainRegClass(dest, ARM::rGPRRegisterClass);
|
||||
MRI.constrainRegClass(oldval, ARM::rGPRRegisterClass);
|
||||
MRI.constrainRegClass(newval, ARM::rGPRRegisterClass);
|
||||
}
|
||||
|
||||
unsigned ldrOpc, strOpc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user