[PATCH] D41563: [Transforms] Propagate TBAA info in SROA

Ivan Kosarev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 24 03:39:36 PST 2017


kosarev created this revision.
kosarev added reviewers: hfinkel, rjmccall.

Now that we have the new TBAA metadata format that is capable of representing accesses to aggregates, we can propagate TBAA access tags from memory setting and transferring intrinsics to load and store instructions and vice versa.

Since SROA produces lots of new loads and stores on optimized builds, this change significantly decreases the share of undecorated memory accesses on such builds.


Repository:
  rL LLVM

https://reviews.llvm.org/D41563

Files:
  lib/Transforms/Scalar/SROA.cpp
  test/Transforms/SROA/basictest.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41563.128105.patch
Type: text/x-patch
Size: 53062 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171224/5f560511/attachment-0001.bin>


More information about the llvm-commits mailing list