[all-commits] [llvm/llvm-project] dee4bc: AMDGPU: Handle new address pattern in LowerKernelA...

Changpeng Fang via All-commits all-commits at lists.llvm.org
Mon Sep 26 09:33:30 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dee4bc4a4ecc56623d511ea571355d1e1ad02159
      https://github.com/llvm/llvm-project/commit/dee4bc4a4ecc56623d511ea571355d1e1ad02159
  Author: Changpeng Fang <changpeng.fang at amd.com>
  Date:   2022-09-26 (Mon, 26 Sep 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp
    A llvm/test/CodeGen/AMDGPU/implicit-arg-v5-opt-opaque-ptr.ll

  Log Message:
  -----------
  AMDGPU: Handle new address pattern in LowerKernelAttributes introduced by opaque pointers

Summary:
  With opaque pointer support, the "ptr" type is introduced and thus BitCast is not necessary in some cases.
This work takes care of this change, and recognizes the new address patterns to do appropriate optimizations.

Reviewers:
  arsenm

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




More information about the All-commits mailing list