[all-commits] [llvm/llvm-project] a3d7b3: [AMDGPU][NFC] Add getMaxMUBUFImmOffset

Piotr Sobczak via All-commits all-commits at lists.llvm.org
Thu Feb 23 02:35:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3d7b3121cfd038c21c3b19002aa1d695de993c3
      https://github.com/llvm/llvm-project/commit/a3d7b3121cfd038c21c3b19002aa1d695de993c3
  Author: Piotr Sobczak <Piotr.Sobczak at amd.com>
  Date:   2023-02-23 (Thu, 23 Feb 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
    M llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
    M llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
    M llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
    M llvm/lib/Target/AMDGPU/SIISelLowering.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
    M llvm/lib/Target/AMDGPU/SIInstrInfo.h

  Log Message:
  -----------
  [AMDGPU][NFC] Add getMaxMUBUFImmOffset

Replace magic constant 4095 with the function getMaxMUBUFImmOffset().

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




More information about the All-commits mailing list