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

Tom Stellard tom at stellard.net
Fri Oct 26 13:13:23 PDT 2012


On Thu, Oct 25, 2012 at 11:17:59PM +0200, Vincent Lejeune wrote:
> ---
>  lib/Target/AMDGPU/R600Instructions.td | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

I've pushed both these patches.

Thanks!

-Tom

> 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
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list