diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-09-11 17:08:17 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-09-11 17:08:17 +0000 |
commit | 9d677131c441dd238f8d5b218b1cb9ef47cac5c2 (patch) | |
tree | 18ddd8a1fbcf1c419e5309ed03eb266184c1d42d /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | 25b5bd27eac26c75998eee7dff99b7af4b2e7884 (diff) | |
download | bcm5719-llvm-9d677131c441dd238f8d5b218b1cb9ef47cac5c2.tar.gz bcm5719-llvm-9d677131c441dd238f8d5b218b1cb9ef47cac5c2.zip |
[CodeGen] Rename AtomicRMWExpansionKind to AtomicExpansionKind.
This lets us generalize its usage to the other atomic instructions.
llvm-svn: 247428
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 633c4a66f8e..eeea67451ae 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -11534,12 +11534,12 @@ bool ARMTargetLowering::shouldExpandAtomicLoadInIR(LoadInst *LI) const { // For the real atomic operations, we have ldrex/strex up to 32 bits, // and up to 64 bits on the non-M profiles -TargetLoweringBase::AtomicRMWExpansionKind +TargetLoweringBase::AtomicExpansionKind ARMTargetLowering::shouldExpandAtomicRMWInIR(AtomicRMWInst *AI) const { unsigned Size = AI->getType()->getPrimitiveSizeInBits(); return (Size <= (Subtarget->isMClass() ? 32U : 64U)) - ? AtomicRMWExpansionKind::LLSC - : AtomicRMWExpansionKind::None; + ? AtomicExpansionKind::LLSC + : AtomicExpansionKind::None; } // This has so far only been implemented for MachO. |