[llvm] r279900 - AMDGPU: Fix sched type for branches

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 26 17:51:02 PDT 2016


Author: arsenm
Date: Fri Aug 26 19:51:02 2016
New Revision: 279900

URL: http://llvm.org/viewvc/llvm-project?rev=279900&view=rev
Log:
AMDGPU: Fix sched type for branches

Modified:
    llvm/trunk/lib/Target/AMDGPU/SIInstructions.td

Modified: llvm/trunk/lib/Target/AMDGPU/SIInstructions.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SIInstructions.td?rev=279900&r1=279899&r2=279900&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SIInstructions.td (original)
+++ llvm/trunk/lib/Target/AMDGPU/SIInstructions.td Fri Aug 26 19:51:02 2016
@@ -430,7 +430,7 @@ def S_ENDPGM : SOPP <0x00000001, (ins),
   let hasSideEffects = 1;
 }
 
-let isBranch = 1 in {
+let isBranch = 1, SchedRW = [WriteBranch] in {
 def S_BRANCH : SOPP <
   0x00000002, (ins sopp_brtarget:$simm16), "s_branch $simm16",
   [(br bb:$simm16)]> {




More information about the llvm-commits mailing list