[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:37:21 PST 2018


spatel updated this revision to Diff 175709.
spatel added a comment.

Patch updated:
Replace the existing code for undef LEA optimization with asserts.
This seems similar to me to how we handle an undef EFLAGS operand at line 2645 of the original file.


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

https://reviews.llvm.org/D54710

Files:
  lib/Target/X86/X86InstrInfo.cpp
  lib/Target/X86/X86InstrInfo.h
  test/CodeGen/X86/GlobalISel/undef.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54710.175709.patch
Type: text/x-patch
Size: 10815 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181128/59c62b02/attachment.bin>


More information about the llvm-commits mailing list