[PATCH] D68414: [SROA] Enhance AggLoadStoreRewriter to rewrite integer load/store if it covers multi fields in original aggregate

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 30 15:09:09 PDT 2020


Carrot updated this revision to Diff 261369.
Carrot added a comment.

This version splits overlapped AllocaSlices like

  S1   ------
  S2      ------

into

  S11  ---
  S12     ---
  S2      ------

So later these slices can be rewritten with scalar operations.


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

https://reviews.llvm.org/D68414

Files:
  llvm/include/llvm/Transforms/Scalar/SROA.h
  llvm/lib/Transforms/Scalar/SROA.cpp
  llvm/test/Transforms/SROA/basictest.ll
  llvm/test/Transforms/SROA/split-integer.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68414.261369.patch
Type: text/x-patch
Size: 51847 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200430/1f611999/attachment.bin>


More information about the llvm-commits mailing list