[llvm] [InstCombine] Tighten use constraint in factorization transforms (PR #102943)

Yingwei Zheng via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 12 11:08:49 PDT 2024


================
@@ -265,3 +265,27 @@ define i6 @sub_shl_same_amount_partial_nuw2(i6 %x, i6 %y, i6 %z) {
   ret i6 %diff
 }
 
+define i8 @add_shl_same_amount_constants(i8 %z) {
----------------
dtcxzyw wrote:

Can you pre-commit these tests? See also https://llvm.org/docs/InstCombineContributorGuide.html#precommit-tests.

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


More information about the llvm-commits mailing list