[llvm] [AMDGPU] Fix wrong uniformity for ballot NOT in UniformIntrinsicCombine (PR #220009)

Arseniy Obolenskiy via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 07:01:00 PDT 2026


================
@@ -86,7 +86,10 @@ static bool optimizeUniformIntrinsic(IntrinsicInst &II, UniformityInfo &UI,
           // Case: (icmp eq %ballot, 0) -> xor %ballot_arg, 1
           Instruction *NotOp =
               BinaryOperator::CreateNot(Src, "", ICmp->getIterator());
----------------
aobolensk wrote:

Done

https://github.com/llvm/llvm-project/pull/220009


More information about the llvm-commits mailing list