diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-02-07 18:50:47 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-02-07 18:50:47 +0000 |
commit | aa26102db47ac7041a54728cf856de4dca700880 (patch) | |
tree | 66beba1fe59cf006ec5e7c1846425aaad9e646ad /lib/Target/ARM/ARMISelLowering.cpp | |
parent | 8c8d95d0c20a233d0594d2cde4586326c074bc17 (diff) |
Fix an obvious typo which caused an isel assertion. rdar://8964854.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125023 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 59a71553bf..4afc8c7fac 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -4344,7 +4344,7 @@ ARMTargetLowering::EmitAtomicCmpSwap(MachineInstr *MI, default: llvm_unreachable("unsupported size for AtomicCmpSwap!"); case 1: ldrOpc = isThumb2 ? ARM::t2LDREXB : ARM::LDREXB; - strOpc = isThumb2 ? ARM::t2LDREXB : ARM::STREXB; + strOpc = isThumb2 ? ARM::t2STREXB : ARM::STREXB; break; case 2: ldrOpc = isThumb2 ? ARM::t2LDREXH : ARM::LDREXH; |