[all-commits] [llvm/llvm-project] 6a089c: [AMDGPU] Use tablegen for argument indices
    Sebastian Neubauer via All-commits 
    all-commits at lists.llvm.org
       
    Mon Oct  5 03:03:02 PDT 2020
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a089ce0e40abbe4e0f26f05540e3caa60d98a29
      https://github.com/llvm/llvm-project/commit/6a089ce0e40abbe4e0f26f05540e3caa60d98a29
  Author: Sebastian Neubauer <sebastian.neubauer at amd.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)
  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsAMDGPU.td
    M llvm/lib/Target/AMDGPU/AMDGPUGlobalISelUtils.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/MIMGInstructions.td
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.h
  Log Message:
  -----------
  [AMDGPU] Use tablegen for argument indices
Use tablegen generic tables to get the index of image intrinsic
arguments.
Before, the computation of which image intrinsic argument is at which
index was scattered in a few places, tablegen, the SDag instruction
selection and GlobalISel. This patch changes that, so only tablegen
contains code to compute indices and the ImageDimIntrinsicInfo table
provides these information.
Differential Revision: https://reviews.llvm.org/D86270
    
    
More information about the All-commits
mailing list