[llvm] 93dc66a - [AMDGPU] - Mark inverse.ballot as not convergent
Jessica Del via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 26 10:52:57 PDT 2023
Author: Jessica Del
Date: 2023-07-26T19:52:52+02:00
New Revision: 93dc66a289b0136a468c55ac6590516ba3299375
URL: https://github.com/llvm/llvm-project/commit/93dc66a289b0136a468c55ac6590516ba3299375
DIFF: https://github.com/llvm/llvm-project/commit/93dc66a289b0136a468c55ac6590516ba3299375.diff
LOG: [AMDGPU] - Mark inverse.ballot as not convergent
`inverse.ballot` checks if a cc bit is set for the current
lane. Therefore, it is not convergent.
Reviewed By: sameerds
Differential Revision: https://reviews.llvm.org/D156088
Added:
Modified:
llvm/include/llvm/IR/IntrinsicsAMDGPU.td
Removed:
################################################################################
diff --git a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
index 36093383fdf9d0..a9c03fa483e7cf 100644
--- a/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
+++ b/llvm/include/llvm/IR/IntrinsicsAMDGPU.td
@@ -1926,7 +1926,7 @@ def int_amdgcn_ballot :
def int_amdgcn_inverse_ballot :
Intrinsic<[llvm_i1_ty], [llvm_anyint_ty],
- [IntrNoMem, IntrConvergent, IntrWillReturn, IntrNoCallback, IntrNoFree]>;
+ [IntrNoMem, IntrWillReturn, IntrNoCallback, IntrNoFree]>;
class AMDGPUWaveReduce<LLVMType data_ty = llvm_anyint_ty> : Intrinsic<
[data_ty],
More information about the llvm-commits
mailing list