[PATCH] D122482: [X86] combineADC - fold ADC(C1,C2,Carry) -> ADC(0,C1+C2,Carry)

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Mar 26 17:49:30 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/X86/combine-adc.ll:88
 ; X64-NEXT:    addb $-1, %dil
-; X64-NEXT:    movl $55, %eax
-; X64-NEXT:    adcl $-1, %eax
+; X64-NEXT:    adcl $54, %eax
 ; X64-NEXT:    retq
----------------
This still seems more complicated that it needs to be.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122482/new/

https://reviews.llvm.org/D122482



More information about the llvm-commits mailing list