diff options
author | Vincent Lejeune <vljn@ovi.com> | 2013-10-13 17:56:28 +0000 |
---|---|---|
committer | Vincent Lejeune <vljn@ovi.com> | 2013-10-13 17:56:28 +0000 |
commit | cf1f4c7dd19458f47a9ba720d90eec507d66c94a (patch) | |
tree | debf68a8932fae59f1a989b2cc637c074564c389 /lib/Target/R600/SIInstructions.td | |
parent | 36d96337f7bf17a35c44403ca5df4023be7f0157 (diff) | |
download | llvm-cf1f4c7dd19458f47a9ba720d90eec507d66c94a.tar.gz llvm-cf1f4c7dd19458f47a9ba720d90eec507d66c94a.tar.bz2 llvm-cf1f4c7dd19458f47a9ba720d90eec507d66c94a.tar.xz |
R600: improve dump of S_WAITCNT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192557 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600/SIInstructions.td')
-rw-r--r-- | lib/Target/R600/SIInstructions.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 8294fbd71e..94d42d55c3 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -25,6 +25,8 @@ def InterpSlot : Operand<i32> { def isSI : Predicate<"Subtarget.getGeneration() " "== AMDGPUSubtarget::SOUTHERN_ISLANDS">; +def WAIT_FLAG : InstFlag<"printWaitFlag">; + let Predicates = [isSI] in { let neverHasSideEffects = 1 in { @@ -815,7 +817,7 @@ def S_BARRIER : SOPP <0x0000000a, (ins), "S_BARRIER", let mayStore = 1; } -def S_WAITCNT : SOPP <0x0000000c, (ins i32imm:$simm16), "S_WAITCNT $simm16", +def S_WAITCNT : SOPP <0x0000000c, (ins WAIT_FLAG:$simm16), "S_WAITCNT $simm16", [] >; } // End hasSideEffects |