[PATCH] D79218: Process gep (phi ptr1, ptr2) in SROA

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 7 17:24:04 PDT 2020


rampitec updated this revision to Diff 262788.
rampitec added a comment.

Found yet another breakage, when the block to insert new GEP is a EHPad. Fixed.

In fact that becomes overly complicated when an incoming value is not an instruction, so limited patch to work with instructions only. This covers most of the cases anyway and handling of anything else could be a separate change.


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

https://reviews.llvm.org/D79218

Files:
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/phi-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79218.262788.patch
Type: text/x-patch
Size: 14283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200508/e2569eb0/attachment.bin>


More information about the llvm-commits mailing list