[llvm] [AMDGPU] Fix amdgcn.mbcnt known bits conflicting with the range attribute (PR #227725)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 01:22:21 PDT 2026
================
@@ -1744,6 +1744,10 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
return IC.replaceInstUsesWith(II, II.getArgOperand(1));
[[fallthrough]];
case Intrinsic::amdgcn_mbcnt_lo: {
+ // No lanes contribute when the mask is zero.
----------------
jayfoad wrote:
Thanks. LGTM if you also remove this part from the PR description.
https://github.com/llvm/llvm-project/pull/227725
More information about the llvm-commits
mailing list