[llvm] [ConstraintElim] Bound non-increasing header IVs by start value. (PR #217921)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 22 06:43:16 PDT 2026


================
@@ -159,3 +161,54 @@ else:
   %res = phi i64 [ %v, %cont ], [ 0, %entry ]
   ret i64 %res
 }
+
+define void @shl_flags(i32 %n) {
----------------
fhahn wrote:

Added a TODO that we should be able preserve `shl nuw`, thanks

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


More information about the llvm-commits mailing list