[all-commits] [llvm/llvm-project] 8384ce: [AMDGPU][NFC]: Remove unnecessary MFI functions

Changpeng Fang via All-commits all-commits at lists.llvm.org
Mon Mar 28 12:14:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8384ced974c629a8c01e8fe19c417b2fd3dd2165
      https://github.com/llvm/llvm-project/commit/8384ced974c629a8c01e8fe19c417b2fd3dd2165
  Author: Changpeng Fang <Changpeng.Fang at amd.com>
  Date:   2022-03-28 (Mon, 28 Mar 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.cpp
    M llvm/lib/Target/AMDGPU/SIMachineFunctionInfo.h

  Log Message:
  -----------
  [AMDGPU][NFC]: Remove unnecessary MFI functions

Summary:
  hasHostcallPtr() and hasHeapPtr() are only used in metadata emit.
However, we can use the corresponding function attributes directly
instead introducing the functions.

Reviewers: arsenm

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




More information about the All-commits mailing list