[llvm] [DAG] Remove OneUse restriction on sext when folding (shl (sext (add_nsw x, c1)), c2) (PR #68972)

via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 14 21:19:24 PDT 2023


================
@@ -21,10 +21,11 @@ define i32 @PR65895() {
 ; CHECK-NEXT:    # =>This Inner Loop Header: Depth=1
 ; CHECK-NEXT:    jmp .LBB0_2
 ; CHECK-NEXT:  .LBB0_3: # %for.end
+; CHECK-NEXT:    movzbl %al, %ecx
----------------
LiqinWeng wrote:

done

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


More information about the llvm-commits mailing list