[PATCH] D114128: Add an IR to test that allocations of struct are scalarized.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 17 16:45:43 PST 2021


luna created this revision.
luna added reviewers: Carrot, davidxl, adriantong1024.
luna requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add an IR in unit test directory, which demonstrate the scalarization for struct allocations.
This is added to pave the way for an SROA change to skip scalarization for some cases.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114128

Files:
  llvm/test/Transforms/SROA/alloca-struct.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114128.388065.patch
Type: text/x-patch
Size: 7828 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211118/0ff809c5/attachment.bin>


More information about the llvm-commits mailing list