[llvm] [VPlan]: During VPRegionBlock::clone, sync the NUW of CanIVInfo (PR #212266)
David Sherwood via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 3 03:07:25 PDT 2026
================
@@ -778,6 +778,9 @@ VPRegionBlock *VPRegionBlock::clone() {
if (getHeaderMask())
NewRegion->createHeaderMask();
+ if (CanIV && !hasCanonicalIVNUW())
+ NewRegion->CanIVInfo->clearNUW();
----------------
david-arm wrote:
Hi @hassnaaHamdi, any thoughts on whether it's possible to write a test for this?
https://github.com/llvm/llvm-project/pull/212266
More information about the llvm-commits
mailing list