[all-commits] [llvm/llvm-project] 1dbade: [DirectX] Add emulation for fp16 types of llvm.is....

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Mon Sep 8 10:48:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1dbade85cb3500f11cb8cefd0541efebbb0a8fda
      https://github.com/llvm/llvm-project/commit/1dbade85cb3500f11cb8cefd0541efebbb0a8fda
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2025-09-08 (Mon, 08 Sep 2025)

  Changed paths:
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/test/CodeGen/DirectX/is_fpclass.ll

  Log Message:
  -----------
  [DirectX] Add emulation for fp16 types of llvm.is.fpclass (#157505)

fixes #157504

This changes adds the emulation we need for IsNaN, IsNormal, & IsFinite
This change only applies these emulations to the llvm.is.fpclass cases
of fp16.

Since there is no DX intrinsics yet for these cases, applying the
emulation to the necessary intrinsics is left for future implementers of
- https://github.com/llvm/llvm-project/issues/99132
- https://github.com/llvm/llvm-project/issues/156069
- https://github.com/llvm/llvm-project/issues/99131



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list