[PATCH] D64659: AMDGPU: Decompose all values to 32-bit pieces for calling conventions

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 12:29:56 PDT 2019


arsenm created this revision.
arsenm added reviewers: rampitec, nhaehnle, tstellar.
Herald added subscribers: javed.absar, t-tye, tpr, dstuttard, yaxunl, wdng, jvesely, kzhuravl.
arsenm added a parent revision: D64645: DAG: Handle dbg_value for arguments split into multiple subregs.

This is the more natural lowering, and presents more opportunities to
reduce 64-bit ops to 32-bit.

      

This should also help avoid issues graphics shaders have had with
64-bit values, and simplify argument lowering in globalisel.


https://reviews.llvm.org/D64659

Files:
  lib/Target/AMDGPU/AMDGPUCallingConv.td
  lib/Target/AMDGPU/AMDGPUISelLowering.cpp
  lib/Target/AMDGPU/SIISelLowering.cpp
  test/CodeGen/AMDGPU/call-argument-types.ll
  test/CodeGen/AMDGPU/debug-value2.ll
  test/CodeGen/AMDGPU/implicit-def-muse.ll
  test/CodeGen/AMDGPU/reduce-build-vec-ext-to-ext-build-vec.ll
  test/CodeGen/AMDGPU/shift-i128.ll
  test/CodeGen/AMDGPU/si-scheduler.ll
  test/CodeGen/AMDGPU/split-arg-dbg-value.ll
  test/CodeGen/AMDGPU/vector_shuffle.packed.ll
  test/CodeGen/AMDGPU/wait.ll
  test/CodeGen/AMDGPU/wwm-reserved.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64659.209564.patch
Type: text/x-patch
Size: 48647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190712/8b29638e/attachment-0001.bin>


More information about the llvm-commits mailing list