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

Florian Hahn via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jan 25 13:10:37 PST 2024


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

Changed to `llvm_unreachable`, thanks!

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


More information about the libcxx-commits mailing list