[all-commits] [llvm/llvm-project] 191552: [NewPM][AMDGPU] Make amdgpu-aa work with NewPM

aeubanks via All-commits all-commits at lists.llvm.org
Mon Jan 4 12:37:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 191552344bba04c428de4a34b83d6f7537a4a596
      https://github.com/llvm/llvm-project/commit/191552344bba04c428de4a34b83d6f7537a4a596
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2021-01-04 (Mon, 04 Jan 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.h
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
    M llvm/test/CodeGen/AMDGPU/amdgpu-alias-analysis.ll

  Log Message:
  -----------
  [NewPM][AMDGPU] Make amdgpu-aa work with NewPM

An AMDGPUAA class already existed that was supposed to work with the new
PM, but it wasn't tested and was a bit broken.

Fix up the existing classes to have the right keys/parameters.
Wire up AMDGPUAA inside AMDGPUTargetMachine.

Add it to the list of alias analyses for the "default" AAManager since
in adjustPassManager() amdgpu-aa is added into the pipeline at the
beginning.

Reviewed By: arsenm

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




More information about the All-commits mailing list