[llvm] [VPlan] Verify dominance for incoming values of phi-like recipes. (PR #124838)
    Florian Hahn via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sat Mar  1 08:15:18 PST 2025
    
    
  
================
@@ -175,6 +175,12 @@ bool VPlanVerifier::verifyEVLRecipe(const VPInstruction &EVL) const {
   });
 }
 
+/// Return true if \p R is a VPIRInstruction wrapping a phi.
+static bool isVPIRInstructionPhi(const VPRecipeBase &R) {
+  auto *VPIRI = dyn_cast<VPIRInstruction>(&R);
----------------
fhahn wrote:
Will check separately, thanks!
https://github.com/llvm/llvm-project/pull/124838
    
    
More information about the llvm-commits
mailing list