Mark ldrexd/strexd w/ volatile memory by default
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 16 Jun 2011 18:11:32 +0000 (18:11 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Thu, 16 Jun 2011 18:11:32 +0000 (18:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133175 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMISelLowering.cpp

index 8b7383de124dd147838e2097d04dabcc97ad2916..7c44c10f60411a1480cd037b17610e829c5fb119 100644 (file)
@@ -7787,7 +7787,7 @@ bool ARMTargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
     Info.ptrVal = I.getArgOperand(2);
     Info.offset = 0;
     Info.align = 8;
-    Info.vol = false;
+    Info.vol = true;
     Info.readMem = false;
     Info.writeMem = true;
     return true;
@@ -7798,7 +7798,7 @@ bool ARMTargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
     Info.ptrVal = I.getArgOperand(0);
     Info.offset = 0;
     Info.align = 8;
-    Info.vol = false;
+    Info.vol = true;
     Info.readMem = true;
     Info.writeMem = false;
     return true;