[llvm] [LV] Make having flags (FMFs etc) not require inheriting VPSingleDefRecipe (PR #114972)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 13:41:27 PST 2024
================
@@ -936,8 +936,9 @@ void VPlanTransforms::clearReductionWrapFlags(VPlan &Plan) {
continue;
for (VPUser *U : collectUsersRecursively(PhiR))
- if (auto *RecWithFlags = dyn_cast<VPRecipeWithIRFlags>(U)) {
- RecWithFlags->dropPoisonGeneratingFlags();
+ if (auto *R = dyn_cast<VPRecipeBase>(U)) {
----------------
fhahn wrote:
Would be good to allow casting to VPRecipeWithIRFlags/VPIRFlags, as mentioned above
https://github.com/llvm/llvm-project/pull/114972
More information about the llvm-commits
mailing list