[PATCH] D110829: [X86] Special-case ADD of two identical registers in convertToThreeAddress

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 7 04:22:40 PDT 2021


foad added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:1238
             .add(Src);
+    Copy->getOperand(1).setIsKill(isKill);
 
----------------
@MatzeB are you happy with this bit? Your suggested changes didn't go quite far enough to get a "kill" on the inserted COPY.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110829



More information about the llvm-commits mailing list