[all-commits] [llvm/llvm-project] a0ab45: [AMDGPU] Move atomic expand past infer address spaces

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Jul 6 16:06:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0ab45799b597f5523b14e5910e25256f5b8a489
      https://github.com/llvm/llvm-project/commit/a0ab45799b597f5523b14e5910e25256f5b8a489
  Author: Stanislav Mekhanoshin <Stanislav.Mekhanoshin at amd.com>
  Date:   2021-07-06 (Tue, 06 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/test/CodeGen/AMDGPU/global-atomics-fp.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll

  Log Message:
  -----------
  [AMDGPU] Move atomic expand past infer address spaces

There are cases where infer address spaces pass cannot yet
infer an address space in the opt pipeline and then in the
llc pipeline it runs too late for atomic expand pass to
benefit from a specific address space.

Move atomic expand pass past the infer address spaces.

Fixes: SWDEV-293410

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




More information about the All-commits mailing list