summaryrefslogtreecommitdiff
path: root/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-29 21:08:52 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2012-08-29 21:08:52 +0000
commitad7ebc2aebd94ec9e0bd01e1735d06cfe067368b (patch)
treef0e82cfe34644a2dcfa2123f1edb7360a654ff7d /lib/CodeGen/MachineInstr.cpp
parent0d7585839540abb9ab661a741dc3e0c2c860bceb (diff)
downloadllvm-ad7ebc2aebd94ec9e0bd01e1735d06cfe067368b.tar.gz
llvm-ad7ebc2aebd94ec9e0bd01e1735d06cfe067368b.tar.bz2
llvm-ad7ebc2aebd94ec9e0bd01e1735d06cfe067368b.tar.xz
Add MachineMemOperand::isUnordered().
This means the same as LoadInst/StoreInst::isUnordered(), and implies !isVolatile(). Atomic loads and stored are also ordered, and this is the right method to check if it is safe to reorder memory operations. Ordered atomics can't be reordered wrt normal loads and stores, which is a stronger constraint than volatile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions