[llvm] [WIP][Assume] Generic assume-based uniformity optimization (PR #160670)
Sameer Sahasrabuddhe via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 4 21:10:14 PDT 2025
================
@@ -1341,6 +1336,15 @@ GCNTTIImpl::instCombineIntrinsic(InstCombiner &IC, IntrinsicInst &II) const {
Call->takeName(&II);
return IC.replaceInstUsesWith(II, Call);
}
+
+ if (auto *Src = dyn_cast<ConstantInt>(Arg)) {
----------------
ssahasra wrote:
Why was this moved?
https://github.com/llvm/llvm-project/pull/160670
More information about the llvm-commits
mailing list