[llvm] [InstCombine] Fold Minimum over trailing or leading zeros (PR #173768)

Aryan Kadole via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 3 12:24:49 PST 2026


================
@@ -380,3 +380,29 @@ define i16 @umin_ctlz_i16_negative_two_uses(i16 %X) {
   %ret = add i16 %ctlz, %op0
   ret i16 %ret
 }
+
+define dso_local range(i32 0, 33) i32 @src1(i32 noundef %0, i32 noundef %1) local_unnamed_addr #0 {
----------------
ak1932 wrote:

Sure 👍

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


More information about the llvm-commits mailing list