diff options
author | Wei Ding <wei.ding2@amd.com> | 2016-06-22 18:51:08 +0000 |
---|---|---|
committer | Wei Ding <wei.ding2@amd.com> | 2016-06-22 18:51:08 +0000 |
commit | 0526e7f8d907840f1aa600ee366006eec3ecba4f (patch) | |
tree | edf531d08f31a5ebebc89584f06d9f82032f4bb6 /llvm/lib/CodeGen/MachineInstr.cpp | |
parent | c4871eddb717c5e5a6579a8b6306ed371ecd6031 (diff) | |
download | bcm5719-llvm-0526e7f8d907840f1aa600ee366006eec3ecba4f.tar.gz bcm5719-llvm-0526e7f8d907840f1aa600ee366006eec3ecba4f.zip |
AMDGPU: Add convergent flag to INLINEASM instruction.
Differential Revision: http://reviews.llvm.org/D21214
llvm-svn: 273455
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineInstr.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 4789538e05b..0b55d2e0b43 100644 --- a/llvm/lib/CodeGen/MachineInstr.cpp +++ b/llvm/lib/CodeGen/MachineInstr.cpp @@ -1754,6 +1754,8 @@ void MachineInstr::print(raw_ostream &OS, ModuleSlotTracker &MST, OS << " [mayload]"; if (ExtraInfo & InlineAsm::Extra_MayStore) OS << " [maystore]"; + if (ExtraInfo & InlineAsm::Extra_IsConvergent) + OS << " [isconvergent]"; if (ExtraInfo & InlineAsm::Extra_IsAlignStack) OS << " [alignstack]"; if (getInlineAsmDialect() == InlineAsm::AD_ATT) |