From 95c869b2347b528db6524d0b50f1294c3c519a0a Mon Sep 17 00:00:00 2001 From: Chris Dewhurst Date: Mon, 27 Jun 2016 22:11:09 +0000 Subject: [PATCH] [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 --- lib/Target/Sparc/SparcISelLowering.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Target/Sparc/SparcISelLowering.cpp b/lib/Target/Sparc/SparcISelLowering.cpp index 14c20a49343..362305390c9 100644 --- a/lib/Target/Sparc/SparcISelLowering.cpp +++ b/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); -- 2.11.0