[llvm-branch-commits] [llvm-branch] r165114 - /llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td
Tom Stellard
thomas.stellard at amd.com
Wed Oct 3 06:39:43 PDT 2012
Author: tstellar
Date: Wed Oct 3 08:39:43 2012
New Revision: 165114
URL: http://llvm.org/viewvc/llvm-project?rev=165114&view=rev
Log:
SI: S_WAITCNT has side effects
Modified:
llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td
Modified: llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td?rev=165114&r1=165113&r2=165114&view=diff
==============================================================================
--- llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/branches/R600/lib/Target/AMDGPU/SIInstructions.td Wed Oct 3 08:39:43 2012
@@ -672,9 +672,11 @@
} // End isTerminator = 1
//def S_BARRIER : SOPP_ <0x0000000a, "S_BARRIER", []>;
+let hasSideEffects = 1 in {
def S_WAITCNT : SOPP <0x0000000c, (ins i32imm:$simm16), "S_WAITCNT $simm16",
[]
>;
+} // End hasSideEffects
//def S_SETHALT : SOPP_ <0x0000000d, "S_SETHALT", []>;
//def S_SLEEP : SOPP_ <0x0000000e, "S_SLEEP", []>;
//def S_SETPRIO : SOPP_ <0x0000000f, "S_SETPRIO", []>;
More information about the llvm-branch-commits
mailing list