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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 21 04:44:47 PST 2024


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

Yep

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


More information about the llvm-commits mailing list