summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorEli Friedman <efriedma@quicinc.com>2021-06-21 16:34:02 -0700
committerEli Friedman <efriedma@quicinc.com>2021-06-21 16:49:27 -0700
commit74909e4b6e9bc0da6c197cf6c4419991a8dc335f (patch)
tree64c3f062509a3ad2866167960fedb47d40e47a23 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentac15a128d8756074b150bb5cb11bfd93a1a5c30c (diff)
Rename MachineMemOperand::getOrdering -> getSuccessOrdering.
Since this method can apply to cmpxchg operations, make sure it's clear what value we're actually retrieving. This will help ensure we don't accidentally ignore the failure ordering of cmpxchg in the future. We could potentially introduce a getOrdering() method on AtomicSDNode that asserts the operation isn't cmpxchg, but not sure that's worthwhile. Differential Revision: https://reviews.llvm.org/D103338
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions