[PATCH] D42759: [CGP] Split large data structres to sink more GEPs

Haicheng Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 10 18:22:35 PST 2018


haicheng updated this revision to Diff 133782.
haicheng retitled this revision from "[CGP] Split large structs to sink more GEPs" to "[CGP] Split large data structres to sink more GEPs".
haicheng edited the summary of this revision.
haicheng added a comment.

I made two changes to address the comments.

- Add the support of splitting large arrays.



- Introduce a target hook to enable/disable the change.

I am also welcome to any alternative implementation suggestions.


Repository:
  rL LLVM

https://reviews.llvm.org/D42759

Files:
  include/llvm/CodeGen/TargetLowering.h
  lib/CodeGen/CodeGenPrepare.cpp
  lib/Target/AArch64/AArch64ISelLowering.cpp
  lib/Target/AArch64/AArch64ISelLowering.h
  test/Transforms/CodeGenPrepare/AArch64/large-offset-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42759.133782.patch
Type: text/x-patch
Size: 21008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180211/d317681b/attachment.bin>


More information about the llvm-commits mailing list