From 8b71994fde0f0fcdf7a8260dc773fb7376b1231f Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Sat, 20 Apr 2013 12:32:43 +0000 Subject: 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 --- lib/Target/AArch64/AArch64ISelLowering.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'lib/Target/AArch64/AArch64ISelLowering.cpp') diff --git a/lib/Target/AArch64/AArch64ISelLowering.cpp b/lib/Target/AArch64/AArch64ISelLowering.cpp index 6deae75488..786b1ba1d5 100644 --- a/lib/Target/AArch64/AArch64ISelLowering.cpp +++ b/lib/Target/AArch64/AArch64ISelLowering.cpp @@ -59,10 +59,6 @@ AArch64TargetLowering::AArch64TargetLowering(AArch64TargetMachine &TM) computeRegisterProperties(); - // We have particularly efficient implementations of atomic fences if they can - // be combined with nearby atomic loads and stores. - setShouldFoldAtomicFences(true); - // We combine OR nodes for bitfield and NEON BSL operations. setTargetDAGCombine(ISD::OR); -- cgit v1.2.3