[all-commits] [llvm/llvm-project] 16661b: [DirectX] Add isinf f16 emulation for SM6.8 and lo...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Fri Sep 5 11:03:10 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16661b5d6c0555850f95d34e585a0643f7f92fcb
      https://github.com/llvm/llvm-project/commit/16661b5d6c0555850f95d34e585a0643f7f92fcb
  Author: Farzon Lotfi <farzonlotfi at microsoft.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/HLSL.cpp
    M clang/unittests/Driver/DXCModeTest.cpp
    M llvm/include/llvm/TargetParser/Triple.h
    M llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/test/CodeGen/DirectX/is_fpclass.ll
    M llvm/test/CodeGen/DirectX/isinf.ll
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  [DirectX] Add isinf f16 emulation for SM6.8 and lower (#156932)

fixes #156068

- We needed to add a new sub arch to the target tripple so we can test
that emulation does not happen when targeting SM6.9
- The HLSL toolchain needed to be updated to handle the conversion of
strings to enums for the new sub arch.
- The emulation is done in DXILIntrinsicExpansion.cpp and needs to be
able to convert both llvm.is.fpclass and lvm.dx.isinf to the proper
emulation
- test updates in TargetParser/TripleTest.cpp, isinf.ll, is_fpclass.ll,
and DXCModeTest.cpp



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