[PATCH] D144623: [AMDGPU][NFC] Add getMaxMUBUFImmOffset

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 23 00:42:47 PST 2023


piotr created this revision.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl, arsenm.
Herald added a project: All.
piotr requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

Replace magic constant 4095 with the function getMaxMUBUFImmOffset().


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144623

Files:
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
  llvm/lib/Target/AMDGPU/SIInstrInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144623.499759.patch
Type: text/x-patch
Size: 9409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230223/cd4c7cc5/attachment.bin>


More information about the llvm-commits mailing list