summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/SparcISelLowering.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcISelLowering.cpp')
-rw-r--r--llvm/lib/Target/Sparc/SparcISelLowering.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Target/Sparc/SparcISelLowering.cpp b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
index 14c20a49343..362305390c9 100644
--- a/llvm/lib/Target/Sparc/SparcISelLowering.cpp
+++ b/llvm/lib/Target/Sparc/SparcISelLowering.cpp
@@ -1638,10 +1638,8 @@ SparcTargetLowering::SparcTargetLowering(const TargetMachine &TM,
// are unsupported.
if (Subtarget->isV9())
setMaxAtomicSizeInBitsSupported(64);
- else if (false && Subtarget->hasLeonCasa())
- // Test made to fail pending completion of AtomicExpandPass,
- // as this will cause a regression until that work is completed.
- setMaxAtomicSizeInBitsSupported(32);
+ else if (Subtarget->hasLeonCasa())
+ setMaxAtomicSizeInBitsSupported(64);
else
setMaxAtomicSizeInBitsSupported(0);
OpenPOWER on IntegriCloud