[PATCH] D73884: [AMDGPU] Use v3f32 type in image instructions

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 3 05:32:57 PST 2020


sebastian-ne created this revision.
sebastian-ne added reviewers: nhaehnle, arsenm.
Herald added subscribers: llvm-commits, kerbowa, dexonsmith, steven_wu, hiraditya, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl, mehdi_amini.
Herald added a project: LLVM.

This should lower the amount of used registers for gfx9.

I updated some of the changed tests with the update script because
changing them by hand is tedious.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73884

Files:
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.d16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.a16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.d16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.gather4.o.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.nsa.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.a16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.d16.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.dim.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.ltolz.ll
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.image.sample.o.dim.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73884.242042.patch
Type: text/x-patch
Size: 373833 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200203/23a0e595/attachment-0001.bin>


More information about the llvm-commits mailing list