[llvm] [VPlanTransform] Specialize simplifyRecipe for VPSingleDefRecipe pointer. nfc (PR #165568)
Mel Chen via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 3 00:31:11 PST 2025
================
@@ -1245,39 +1241,39 @@ static void simplifyRecipe(VPRecipeBase &R, VPTypeAnalysis &TypeInfo) {
if (match(Def, m_Intrinsic<Intrinsic::vp_merge>(m_True(), m_VPValue(A),
m_VPValue(X), m_VPValue())) &&
match(A, m_c_BinaryOr(m_Specific(X), m_VPValue(Y))) &&
- TypeInfo.inferScalarType(R.getVPSingleValue())->isIntegerTy(1)) {
+ TypeInfo.inferScalarType(Def->getVPSingleValue())->isIntegerTy(1)) {
----------------
Mel-Chen wrote:
ef96dd89abbdc952c6c92c92ff8eef75613a4538
https://github.com/llvm/llvm-project/pull/165568
More information about the llvm-commits
mailing list