Skip to content

Conversation

@LiqinWeng
Copy link
Contributor

Resolve the compilation error caused by the merge issue: #119510

Resolve the compilation error caused by the merge issue: llvm#119510
@llvmbot
Copy link
Member

llvmbot commented Dec 23, 2024

@llvm/pr-subscribers-vectorizers

@llvm/pr-subscribers-llvm-transforms

Author: LiqinWeng (LiqinWeng)

Changes

Resolve the compilation error caused by the merge issue: #119510


Full diff: https://github.com/llvm/llvm-project/pull/120926.diff

1 Files Affected:

  • (modified) llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp (+1-1)
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 7fc02348347dfe..1689eadb5a5d7b 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -1488,7 +1488,7 @@ static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
       })
       .Case<VPWidenIntrinsicRecipe, VPWidenCastRecipe>(
           [&](auto *CR) -> VPRecipeBase * {
-            Intrinsic::ID VPID;
+            Intrinsic::ID VPID = Intrinsic::not_intrinsic;
             if (auto *CallR = dyn_cast<VPWidenIntrinsicRecipe>(CR))
               VPID =
                   VPIntrinsic::getForIntrinsic(CallR->getVectorIntrinsicID());

Copy link
Contributor

@zqb-all zqb-all left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@LiqinWeng LiqinWeng merged commit b1fab4f into llvm:main Dec 23, 2024
11 checks passed
@LiqinWeng LiqinWeng deleted the fix-bugs branch December 23, 2024 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants