[PATCH] D63073: [AMDGPU] Optimize image_[load|store]_mip

Piotr Sobczak via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 03:51:11 PDT 2019


piotr created this revision.
Herald added subscribers: llvm-commits, t-tye, tpr, dstuttard, yaxunl, nhaehnle, wdng, jvesely, kzhuravl, arsenm.
Herald added a project: LLVM.

Replace image_load_mip/image_store_mip
with image_load/image_store if lod is 0.


Repository:
  rL LLVM

https://reviews.llvm.org/D63073

Files:
  lib/Target/AMDGPU/MIMGInstructions.td
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp
  lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h
  test/CodeGen/AMDGPU/image_ls_mipmap_zero.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63073.203794.patch
Type: text/x-patch
Size: 9728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190610/7f81c4d4/attachment.bin>


More information about the llvm-commits mailing list