[PATCH] D54710: [x86] don't try to convert add with undef operands to LEA

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 28 09:40:29 PST 2018


spatel marked an inline comment as done.
spatel added inline comments.


================
Comment at: lib/Target/X86/X86InstrInfo.cpp:2643-2644
 
     // In practice we should never have an undef eflags operand, if we do
     // abort here as we are not prepared to preserve the flag.
     if (I->getOperand(1).isUndef())
----------------
Similar bail out?


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

https://reviews.llvm.org/D54710





More information about the llvm-commits mailing list