diff options
author | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-06-16 18:11:32 +0000 |
---|---|---|
committer | Bruno Cardoso Lopes <bruno.cardoso@gmail.com> | 2011-06-16 18:11:32 +0000 |
commit | c75448c74051200602a8006bab45d747e61a5c3c (patch) | |
tree | 2305be99cd0ea689e74cff7ee8d9c73958a0758b /lib | |
parent | 12af5ff7205630a802fe4b4ca355fa143c1449f1 (diff) | |
download | external_llvm-c75448c74051200602a8006bab45d747e61a5c3c.zip external_llvm-c75448c74051200602a8006bab45d747e61a5c3c.tar.gz external_llvm-c75448c74051200602a8006bab45d747e61a5c3c.tar.bz2 |
Mark ldrexd/strexd w/ volatile memory by default
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133175 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/ARM/ARMISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.cpp b/lib/Target/ARM/ARMISelLowering.cpp index 8b7383d..7c44c10 100644 --- a/lib/Target/ARM/ARMISelLowering.cpp +++ b/lib/Target/ARM/ARMISelLowering.cpp @@ -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; |