[clang] [llvm] [AMDGPU] Add support for `v_tanh_bf16` on gfx1250 (PR #147425)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 7 19:13:09 PDT 2025


================
@@ -13658,6 +13658,7 @@ bool SITargetLowering::isCanonicalized(Register Reg, const MachineFunction &MF,
     case Intrinsic::amdgcn_frexp_mant:
     case Intrinsic::amdgcn_fdot2:
     case Intrinsic::amdgcn_trig_preop:
+    case Intrinsic::amdgcn_tanh:
----------------
shiltian wrote:

It was but not by this instruction, since this intrinsic is used for those different types. I'll remove them then?

https://github.com/llvm/llvm-project/pull/147425


More information about the llvm-commits mailing list