[PATCH] D147732: [AMDGPU] Add f32 permlane{16, x16} builtin variants

Jeffrey Byrnes via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 6 11:58:29 PDT 2023


jrbyrnes created this revision.
jrbyrnes added reviewers: rampitec, arsenm.
Herald added subscribers: kosarev, foad, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
jrbyrnes requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, wdng.
Herald added projects: clang, LLVM.

Add builtins which accept floats for these instructions. A user is requesting to have permlane builtins for floats without use of casts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147732

Files:
  clang/include/clang/Basic/BuiltinsAMDGPU.def
  clang/test/CodeGenOpenCL/builtins-amdgcn-gfx10.cl
  clang/test/SemaOpenCL/builtins-amdgcn-error-gfx10-param.cl
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUInstCombineIntrinsic.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUSearchableTables.td
  llvm/lib/Target/AMDGPU/VOP3Instructions.td

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147732.511500.patch
Type: text/x-patch
Size: 9916 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230406/48e5afcc/attachment.bin>


More information about the cfe-commits mailing list