[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 10:55:16 PDT 2022


davezarzycki added a comment.

Okay. I'll try to remember to create a followup bug after this lands. I'm sure I'm naive about it, but it seems to me that after register allocation, MOV $0, <reg> instructions should move earlier (when possible) in the basic block to get out of the way of EFLAG dependencies and allow the MOV $0, <reg> to XOR <reg>, <reg> optimization, but that's just me hand waving.


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