[all-commits] [llvm/llvm-project] 103a58: Add ExternalAAWrapperPass to createLegacyPMAAResults.

Neil Henning via All-commits all-commits at lists.llvm.org
Mon Jan 6 00:53:30 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 103a58c8f2b0a62a42f6eedcdef38222ff22a538
      https://github.com/llvm/llvm-project/commit/103a58c8f2b0a62a42f6eedcdef38222ff22a538
  Author: Neil Henning <neil.henning at unity3d.com>
  Date:   2020-01-06 (Mon, 06 Jan 2020)

  Changed paths:
    M llvm/lib/Analysis/AliasAnalysis.cpp

  Log Message:
  -----------
  Add ExternalAAWrapperPass to createLegacyPMAAResults.

Our out-of-tree custom aliasing solution for the HPC# Burst compiler
here at Unity makes use of the `ExternalAAwrapperPass` infrastructure to
insert our custom aliasing resolution into the core of LLVM. This is
great for all cases except for function inlining, where because
`createLegacyPMAAResults` does not make use of `ExternalAAWrapperPass`,
when we have a definite no-alias result within a function it won't be
propagated to the calling function during inlining.

This commit just rectifies this oversight by adding the missing
dependency.

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




More information about the All-commits mailing list