[all-commits] [llvm/llvm-project] 24962c: [Loads] Handle simple cases with same base pointer...

hjyamauchi via All-commits all-commits at lists.llvm.org
Wed Jan 29 13:06:06 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 24962ced814123195be1a8cb41b615f255da824f
      https://github.com/llvm/llvm-project/commit/24962ced814123195be1a8cb41b615f255da824f
  Author: Hiroshi Yamauchi <yamauchi at google.com>
  Date:   2020-01-29 (Wed, 29 Jan 2020)

  Changed paths:
    M llvm/lib/Analysis/Loads.cpp
    M llvm/unittests/Analysis/CMakeLists.txt
    A llvm/unittests/Analysis/LoadsTest.cpp

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

Summary:
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.

Reviewers: davidxl

Subscribers: mgorny, Prazek, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D71307




More information about the All-commits mailing list