[llvm] [InstCombine] Tighten use constraint in factorization transforms (PR #102943)
    Yingwei Zheng via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Aug 12 19:17:02 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:
Yeah, please file a separate PR for these additional tests.
Since this patch is not NFC, you should pre-commit some tests to demonstrate the issue.
https://github.com/llvm/llvm-project/pull/102943
    
    
More information about the llvm-commits
mailing list