[llvm] [DAGCombine] `visitANY_EXTEND` - fold `(aext (freeze (load x)))` -> `(aext (truncate (freeze (extload x))))` (PR #218454)
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 14 23:47:09 PDT 2026
================
@@ -37,8 +37,8 @@ define i8 @test_i8(i8 %a) nounwind {
define i16 @test_i16(i16 %a) nounwind {
; X86-NO-CMOV-LABEL: test_i16:
; X86-NO-CMOV: # %bb.0:
-; X86-NO-CMOV-NEXT: movswl {{[0-9]+}}(%esp), %eax
-; X86-NO-CMOV-NEXT: movl %eax, %ecx
+; X86-NO-CMOV-NEXT: movl {{[0-9]+}}(%esp), %eax
+; X86-NO-CMOV-NEXT: movswl %ax, %ecx
----------------
RKSimon wrote:
Avoid a PR stack - you should make the yak shave PR independent of this one.
https://github.com/llvm/llvm-project/pull/218454
More information about the llvm-commits
mailing list