[flang-commits] [libc] [clang-tools-extra] [flang] [llvm] [lldb] [clang] [libcxx] [compiler-rt] [lld] [VPlan] Implement cloning of VPlans. (PR #73158)

via flang-commits flang-commits at lists.llvm.org
Thu Jan 25 06:42:48 PST 2024


================
@@ -1594,6 +1657,13 @@ class VPWidenPHIRecipe : public VPHeaderPHIRecipe {
       addOperand(Start);
   }
 
+  VPRecipeBase *clone() override {
+    auto *Res = new VPWidenPHIRecipe(cast<PHINode>(getUnderlyingInstr()),
----------------
ayalz wrote:

Better mark it unreachable than have untested dead code, potentially misconsidered live?

https://github.com/llvm/llvm-project/pull/73158


More information about the flang-commits mailing list