diff options
author | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-27 22:11:09 +0000 |
---|---|---|
committer | Chris Dewhurst <chris.dewhurst@lero.ie> | 2016-06-27 22:11:09 +0000 |
commit | d534d3aae82be88b013578fbd3c745e9685cef63 (patch) | |
tree | cd81bfd2dbee371e371b0a1777ac01ffff625081 /llvm/lib/Target/Sparc | |
parent | d8e1d56de8fb272cdb6de4bc29b0f1dd7987f50d (diff) | |
download | bcm5719-llvm-d534d3aae82be88b013578fbd3c745e9685cef63.tar.gz bcm5719-llvm-d534d3aae82be88b013578fbd3c745e9685cef63.zip |
[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.
llvm-svn: 273949
Diffstat (limited to 'llvm/lib/Target/Sparc')
-rw-r--r-- | llvm/lib/Target/Sparc/SparcISelLowering.cpp | 6 |
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); |