[PATCH] D60789: [x86] try to widen 'shl' as part of LEA formation

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 17 06:20:35 PDT 2019


spatel updated this revision to Diff 195552.
spatel marked 2 inline comments as done.
spatel added a comment.

Patch updated:

1. Added check to make sure that IndexReg has not already been set.
2. Fixed node insertion/deletion/rauw to match existing code patterns in foldMask*() helpers. Dead node removal should be handled by PostprocessISelDAG(), so there's no need to do that explicitly.


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

https://reviews.llvm.org/D60789

Files:
  llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
  llvm/test/CodeGen/X86/lea-dagdag.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60789.195552.patch
Type: text/x-patch
Size: 3776 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190417/ee05fd70/attachment.bin>


More information about the llvm-commits mailing list