[PATCH] D110579: [AMDGPU] Add two new intrinsics to control fp_trunc rounding mode

Julien Pagès via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 13:17:34 PDT 2021


jpages created this revision.
jpages added a reviewer: foad.
jpages added a project: AMDGPU.
Herald added subscribers: kerbowa, hiraditya, t-tye, tpr, dstuttard, yaxunl, nhaehnle, jvesely, kzhuravl, arsenm.
jpages requested review of this revision.
Herald added subscribers: llvm-commits, jdoerfert, wdng.
Herald added a project: LLVM.

Add two new intrinsics to precisely control the rounding mode when converting
from f32 to f16.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D110579

Files:
  llvm/include/llvm/IR/Intrinsics.td
  llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
  llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
  llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.cpp
  llvm/lib/Target/AMDGPU/SIISelLowering.h
  llvm/lib/Target/AMDGPU/SIInstructions.td
  llvm/lib/Target/AMDGPU/SIModeRegister.cpp
  llvm/test/CodeGen/AMDGPU/llvm.experimental.fptrunc.round.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110579.375382.patch
Type: text/x-patch
Size: 13780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210927/fbb0b21c/attachment.bin>


More information about the llvm-commits mailing list