[PATCH] D155556: [AMDGPU] Isolate target intrinsics that are not GMIR intrinsics.

Sameer Sahasrabuddhe via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 00:49:01 PDT 2023


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

Some target-defined instructions behave like intrinsics, and have an
Intrinsic::ID operand. But they should not be recognized as generic intrinsics,
and should not use MachineInstr::getIntrinsicID(). Separated these out by
introducing a new AMDGPU::getIntrinsicID().


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155556

Files:
  llvm/include/llvm/CodeGen/MachineInstr.h
  llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstrInfo.h
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155556.541365.patch
Type: text/x-patch
Size: 4413 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/31204c97/attachment.bin>


More information about the llvm-commits mailing list