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

David Zarzycki via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 09:44:22 PDT 2022


davezarzycki added a comment.

I was just surprised to see that the last four lines didn't swap the BT and the zeroing of EDX. Maybe this is a separate problem. This seems like the natural output of the last four lines of the example above:

  xor %edx,%edx
  bt $0x2a,%rsi
  adc $0x2,%edx
  cmp $0x1,%edi


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