[PATCH] D154422: [AMDGPU] Add new BFI intrinsic

Thomas Symalla via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 4 02:32:00 PDT 2023


tsymalla created this revision.
tsymalla added reviewers: foad, arsenm.
Herald added subscribers: StephenFan, kerbowa, hiraditya, tpr, dstuttard, yaxunl, jvesely, kzhuravl.
Herald added a project: All.
tsymalla requested review of this revision.
Herald added subscribers: llvm-commits, wdng.
Herald added a project: LLVM.

This adds a new BFI intrinsic which can be used to emit the v_bfi instruction
directly with a mask.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154422

Files:
  llvm/include/llvm/IR/IntrinsicsAMDGPU.td
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.td
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/EvergreenInstructions.td
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/test/CodeGen/AMDGPU/bfi-intrinsic.ll
  llvm/test/CodeGen/AMDGPU/bfi_nested.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154422.537001.patch
Type: text/x-patch
Size: 20895 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230704/fb843c66/attachment.bin>


More information about the llvm-commits mailing list