[PATCH] D71307: [Loads] Handle simple cases with same base pointer with constant offsets in FindAvailableLoadedValue when AA is null.

Hiroshi Yamauchi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 10 15:29:10 PST 2019


yamauchi created this revision.
yamauchi added a reviewer: davidxl.
Herald added subscribers: hiraditya, Prazek, mgorny.
Herald added a project: LLVM.
yamauchi added a comment.

This is split off of D69591 <https://reviews.llvm.org/D69591>.


This will help with devirtualization (store forwarding with vtable pointers in
the presence of other stores into members in the constructor.) During inlining,
we don't have AA.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71307

Files:
  llvm/lib/Analysis/Loads.cpp
  llvm/unittests/Analysis/CMakeLists.txt
  llvm/unittests/Analysis/LoadsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71307.233202.patch
Type: text/x-patch
Size: 4013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191210/66d9ee51/attachment.bin>


More information about the llvm-commits mailing list