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

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


================
@@ -615,6 +615,18 @@ void VPBasicBlock::print(raw_ostream &O, const Twine &Indent,
 }
 #endif
 
+VPBlockBase *VPRegionBlock::clone() {
----------------
fhahn wrote:

Updated, thanks! Also removed `VPBlockBase::clone` and moved to static functions, as without remapping it is not really useful (also, generally full remapping isn't possible without mappings for defs outside the block/region)

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


More information about the cfe-commits mailing list