[llvm] [VPlan] Create VectorEndPointer with full NW flags (PR #151558)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 01:37:52 PDT 2025


================
@@ -398,6 +398,69 @@ for.body:                                         ; preds = %for.body, %entry
   br i1 %cmp, label %for.body, label %for.cond.cleanup
 }
 
+; Variant of the above with nusw flag on the GEP.
+define void @nowrap_flag_preservation(ptr noalias %A, ptr %B) {
----------------
fhahn wrote:

Better create a new separate test file which covers flag preservation for pointer recipes for interleave groups, including `nuw` flags.

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


More information about the llvm-commits mailing list