[llvm] r273949 - [Sparc] Atomics pass changes to make work with SparcV8 back-ends.
Chris Dewhurst via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 27 15:11:09 PDT 2016
Author: lerochris
Date: Mon Jun 27 17:11:09 2016
New Revision: 273949
URL: http://llvm.org/viewvc/llvm-project?rev=273949&view=rev
Log:
[Sparc] Atomics pass changes to make work with SparcV8 back-ends.
This change reverts a "false" test that was placed to avoid regressions while the atomics pass was completed for the Sparc back-ends.
Modified:
llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp
Modified: llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp?rev=273949&r1=273948&r2=273949&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/Sparc/SparcISelLowering.cpp Mon Jun 27 17:11:09 2016
@@ -1638,10 +1638,8 @@ SparcTargetLowering::SparcTargetLowering
// 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);
More information about the llvm-commits
mailing list