[llvm] [X86] Remove redundant TEST after shifts when count is non-zero (PR #169069)

Phoebe Wang via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 14 17:42:41 PST 2025


================
@@ -341,7 +395,7 @@ define i32 @lshr_var_self_select_amt_never_zero(i32 %a0, i32 %a1, i32 %a2, i32 %
   ret i32 %r
 }
 
-; shl by non-zero variable and using result - use separate test
+; lshr by non-zero variable and using result - use separate test
----------------
phoebewang wrote:

Duplicated to above.

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


More information about the llvm-commits mailing list