[PATCH] D136396: [X86] Enable reassociation for ADD instructions

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 21 13:12:20 PDT 2022


Carrot added inline comments.


================
Comment at: llvm/lib/Target/X86/X86InstrInfo.cpp:8695
          "Implicit def isn't flags?");
   if (FlagDef && !FlagDef->isDead())
     return false;
----------------
craig.topper wrote:
> Here is the EFLAGS code
Thanks for the pointer. So now EFLAGS is not a problem for ADD.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D136396



More information about the llvm-commits mailing list