[llvm] [VPlan] Extend tryToFoldLiveIns to fold binary intrinsics (PR #161703)
Luke Lau via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 15 22:29:14 PDT 2025
================
@@ -956,6 +975,14 @@ static Value *tryToFoldLiveIns(const VPRecipeBase &R, unsigned Opcode,
}
InstSimplifyFolder Folder(DL);
+ if (OpcodeOrIID.first) {
----------------
lukel97 wrote:
Should we just call `getOpcodeOrIntrinsicID` on R here instead of plumbing it through as an argument?
https://github.com/llvm/llvm-project/pull/161703
More information about the llvm-commits
mailing list