[llvm] [GVN] Teach GVN simple masked load/store forwarding (PR #157689)
Ramkumar Ramachandra via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 9 10:23:37 PDT 2025
================
@@ -2734,6 +2779,11 @@ bool GVNPass::processInstruction(Instruction *I) {
return false;
}
+ if (auto *II = dyn_cast<IntrinsicInst>(I))
+ if (II && II->getIntrinsicID() == Intrinsic::masked_load)
----------------
artagnon wrote:
m_Intrinsic from PatternMatch?
https://github.com/llvm/llvm-project/pull/157689
More information about the llvm-commits
mailing list