summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMISelLowering.cpp
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-04-20 12:32:43 +0000
committerTim Northover <Tim.Northover@arm.com>2013-04-20 12:32:43 +0000
commit8b71994fde0f0fcdf7a8260dc773fb7376b1231f (patch)
treed1f2a8fb857f69681fa26a311e1709a581cf6825 /lib/Target/ARM/ARMISelLowering.cpp
parent6265d5c91a18b2fb6499eb581c488315880c044d (diff)
downloadllvm-8b71994fde0f0fcdf7a8260dc773fb7376b1231f.tar.gz
llvm-8b71994fde0f0fcdf7a8260dc773fb7376b1231f.tar.bz2
llvm-8b71994fde0f0fcdf7a8260dc773fb7376b1231f.tar.xz
Remove unused ShouldFoldAtomicFences flag.
I think it's almost impossible to fold atomic fences profitably under LLVM/C++11 semantics. As a result, this is now unused and just cluttering up the target interface. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.cpp')
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp
index 698c8a7e3e..23d7ef1290 100644
--- a/lib/Target/ARM/ARMISelLowering.cpp
+++ b/lib/Target/ARM/ARMISelLowering.cpp
@@ -763,8 +763,6 @@ ARMTargetLowering::ARMTargetLowering(TargetMachine &TM)
// Unordered/Monotonic case.
setOperationAction(ISD::ATOMIC_LOAD, MVT::i32, Custom);
setOperationAction(ISD::ATOMIC_STORE, MVT::i32, Custom);
- // Since the libcalls include locking, fold in the fences
- setShouldFoldAtomicFences(true);
}
setOperationAction(ISD::PREFETCH, MVT::Other, Custom);