[PATCH] D79145: Allow gep (select) combine with non-constant operands

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 11:15:19 PDT 2020


rampitec updated this revision to Diff 261295.
rampitec marked an inline comment as done.
rampitec added a comment.

Fixed comment and restated condition. Not sure it looks better though.


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

https://reviews.llvm.org/D79145

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
  llvm/test/Transforms/InstCombine/getelementptr.ll
  llvm/test/Transforms/SROA/select-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79145.261295.patch
Type: text/x-patch
Size: 5860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200430/0e7fd0b2/attachment.bin>


More information about the llvm-commits mailing list