[all-commits] [llvm/llvm-project] f37588: [InferAddrSpace] Teach to handle assumed address s...

darkbuck via All-commits all-commits at lists.llvm.org
Mon Nov 16 14:06:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f375885ab86d1b3e82269725c8e9aa49f347b4a7
      https://github.com/llvm/llvm-project/commit/f375885ab86d1b3e82269725c8e9aa49f347b4a7
  Author: Michael Liao <michael.hliao at gmail.com>
  Date:   2020-11-16 (Mon, 16 Nov 2020)

  Changed paths:
    M clang/test/CodeGenCUDA/amdgpu-kernel-arg-pointer-type.cu
    M llvm/docs/AMDGPUUsage.rst
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h
    M llvm/include/llvm/Target/TargetMachine.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.h
    M llvm/lib/Transforms/Scalar/InferAddressSpaces.cpp
    M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
    A llvm/test/Transforms/InferAddressSpaces/AMDGPU/assumed-addrspace.ll

  Log Message:
  -----------
  [InferAddrSpace] Teach to handle assumed address space.

- In certain cases, a generic pointer could be assumed as a pointer to
  the global memory space or other spaces. With a dedicated target hook
  to query that address space from a given value, infer-address-space
  pass could infer and propagate that to all its users.

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




More information about the All-commits mailing list