mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-13 14:46:53 +00:00
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273949 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e4c2111aa4
commit
95c869b234
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user