[PATCH] D96639: [AMDGPU] Add two TSFlags: IsAtomicNoRtn and IsAtomicRtn
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 15 07:38:51 PST 2021
foad added inline comments.
================
Comment at: llvm/lib/Target/AMDGPU/SIInstrInfo.h:557
+
+ static bool isAtomic(const MachineInstr &MI) {
+ return MI.getDesc().TSFlags & (SIInstrFlags::IsAtomicRtn |
----------------
I am surprised that there isn't already a MachineInstr::IsAtomic method.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96639/new/
https://reviews.llvm.org/D96639
More information about the llvm-commits
mailing list