aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineMemOperand.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-29 20:48:45 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-29 20:48:45 +0000
commit0d7585839540abb9ab661a741dc3e0c2c860bceb (patch)
treede409289982038ea7215472a88a780c84de50048 /include/llvm/CodeGen/MachineMemOperand.h
parent688c1cd6c932ce2811905dbca64e631c7ecbbd0f (diff)
Don't move normal loads across volatile/atomic loads.
It is technically allowed to move a normal load across a volatile load, but probably not a good idea. It is not allowed to move a load across an atomic load with Ordering > Monotonic, and we model those with MOVolatile as well. I recently removed the mayStore flag from atomic load instructions, so they don't need a pseudo-opcode. This patch makes up for the difference. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162857 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineMemOperand.h')
0 files changed, 0 insertions, 0 deletions