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

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 3 07:01:47 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 {
----------------
dtcxzyw wrote:

Please use named values (i.e., assign meaningful names for variables, then UTC will not generate `[[TMP*]]` labels).

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


More information about the llvm-commits mailing list