[llvm] [AMDGPU] Produce ballot/icmp/fcmp lane masks at wavefront width (PR #201358)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 3 08:24:42 PDT 2026


================
@@ -7855,6 +7855,11 @@ static SDValue lowerBALLOTIntrinsic(const SITargetLowering &TLI, SDNode *N,
   SDValue Src = N->getOperand(1);
   SDLoc SL(N);
 
+  // AMDGPUISD::SETCC produces a wave-sized mask; emit it at that width and
----------------
arsenm wrote:

I think the i32 return type on wave64 intentionally doesn't work. This is also now going beyond what the title suggests 

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


More information about the llvm-commits mailing list