[PATCH] D63998: AMDGPU/GlobalISel: Legalize workitem ID intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 1 05:46:32 PDT 2019


arsenm created this revision.
arsenm added reviewers: tstellar, nhaehnle.
Herald added subscribers: Petar.Avramovic, t-tye, tpr, dstuttard, kristof.beyls, rovka, yaxunl, wdng, jvesely, kzhuravl.

Tests don't cover the masked input path since non-kernel arguments
aren't lowered yet.

      

Test is copied directly from the existing test, with 2 additions.


https://reviews.llvm.org/D63998

Files:
  lib/Target/AMDGPU/AMDGPUCallLowering.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
  lib/Target/AMDGPU/AMDGPULegalizerInfo.h
  test/CodeGen/AMDGPU/GlobalISel/irtranslator-amdgpu_kernel-system-sgprs.ll
  test/CodeGen/AMDGPU/GlobalISel/irtranslator-fast-math-flags.ll
  test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.workitem.id.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63998.207275.patch
Type: text/x-patch
Size: 11553 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190701/59409c78/attachment.bin>


More information about the llvm-commits mailing list