[all-commits] [llvm/llvm-project] 422d37: [AMDGPU] Use tablegen to list uniform intrinsics

yashssh via All-commits all-commits at lists.llvm.org
Tue Jan 31 04:15:15 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 422d379de287db614e6c12a1a09eb2d6e99020d7
      https://github.com/llvm/llvm-project/commit/422d379de287db614e6c12a1a09eb2d6e99020d7
  Author: Yashwant Singh <Yashwant.Singh at amd.com>
  Date:   2023-01-31 (Tue, 31 Jan 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
    M llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h

  Log Message:
  -----------
  [AMDGPU] Use tablegen to list uniform intrinsics

Right now we do opcode wise matching to identify uniform/non-divergent
AMDGPU intrinsics. It is duplicated at 2 places once at IR level uniformity analysis
and at MIR level. Moving them to single tablegen table for consistency and adding
and API rapper to access them.

Reviewed By: arsenm, #amdgpu

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




More information about the All-commits mailing list