[Mesa-dev] [PATCH 1/2] radeon/llvm: Set isBarrier bit for JUMP instruction

Vincent Lejeune vljn at ovi.com
Thu Oct 25 14:17:59 PDT 2012


---
 lib/Target/AMDGPU/R600Instructions.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Target/AMDGPU/R600Instructions.td b/lib/Target/AMDGPU/R600Instructions.td
index 472538e..5b97e5e 100644
--- a/lib/Target/AMDGPU/R600Instructions.td
+++ b/lib/Target/AMDGPU/R600Instructions.td
@@ -1314,7 +1314,7 @@ def PRED_X : InstR600 <
   let FlagOperandIdx = 3;
 }
 
-let isTerminator = 1, isBranch = 1 in {
+let isTerminator = 1, isBranch = 1, isBarrier = 1 in {
 
 def JUMP : InstR600 <0x10,
           (outs),
@@ -1323,7 +1323,7 @@ def JUMP : InstR600 <0x10,
           [], AnyALU
   >;
 
-}  // End isTerminator = 1, isBranch = 1
+}  // End isTerminator = 1, isBranch = 1, isBarrier = 1
 
 let usesCustomInserter = 1 in {
 
-- 
1.7.11.7



More information about the mesa-dev mailing list