[PATCH] D72170: AMDGPU/GlobalISel: Fix argument lowering for vectors of pointers

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 3 10:43:11 PST 2020


arsenm created this revision.
arsenm added reviewers: nhaehnle, tstellar, kerbowa, aemerson, paquette, aditya_nandakumar.
Herald added subscribers: Petar.Avramovic, hiraditya, t-tye, tpr, dstuttard, rovka, yaxunl, wdng, jvesely, kzhuravl.
Herald added a project: LLVM.

When these arguments are broken down by the EVT based callbacks, the
pointer information is lost. Hack around this by coercing the register
types to be the expected pointer element type when building the
remerge operations.


https://reviews.llvm.org/D72170

Files:
  llvm/lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  llvm/test/CodeGen/AMDGPU/GlobalISel/irtranslator-function-args.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72170.236089.patch
Type: text/x-patch
Size: 12362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200103/20b182b6/attachment.bin>


More information about the llvm-commits mailing list