[PATCH] D156744: AMDGPU: Don't try to fold wavefrontsize intrinsic in libcall simplify

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 31 14:33:20 PDT 2023


arsenm created this revision.
arsenm added reviewers: AMDGPU, rampitec, jhuber6, Pierre-vh.
Herald added subscribers: foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
arsenm requested review of this revision.
Herald added a subscriber: wdng.
Herald added a project: LLVM.

It's not a libcall so doesn't really belong here to begin
with. Relying on checking the target name and explicit features isn't
particularly sound either. The library doesn't use the intrinsic
anymore, so it doesn't matter anyway.


https://reviews.llvm.org/D156744

Files:
  llvm/lib/Target/AMDGPU/AMDGPU.h
  llvm/lib/Target/AMDGPU/AMDGPULibCalls.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
  llvm/test/CodeGen/AMDGPU/llvm.amdgcn.wavefrontsize.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156744.545810.patch
Type: text/x-patch
Size: 10912 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230731/6e4152ad/attachment.bin>


More information about the llvm-commits mailing list