[all-commits] [llvm/llvm-project] 1c75c8: [SPIRV] support for the intrinsic @llvm.fptosi.sat...

VISHAKH PRAKASH via All-commits all-commits at lists.llvm.org
Sun Aug 3 14:37:15 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c75c829dc4f47575e1e702009b511f9cd0da2cb
      https://github.com/llvm/llvm-project/commit/1c75c829dc4f47575e1e702009b511f9cd0da2cb
  Author: VISHAKH PRAKASH <vishakh.prakash at multicorewareinc.com>
  Date:   2025-08-03 (Sun, 03 Aug 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVLegalizerInfo.cpp
    A llvm/test/CodeGen/SPIRV/llvm-intrinsics/fp-to-int-intrinsics.ll

  Log Message:
  -----------
  [SPIRV] support for the intrinsic @llvm.fptosi.sat.* and @llvm.fptoui.sat.*  (#129222)

Add support for the intrinsic @llvm.fptosi.sat.* and @llvm.fptoui.sat.*
- add legalizer for G_FPTOSI_SAT and G_FPTOUI_SAT
- add instructionSelector for G_FPTOSI_SAT and G_FPTOUI_SAT
- add function to add saturatedConversion decoration to the intrinsic

---------

Co-authored-by: Dmitry Sidorov <dmitry.sidorov at intel.com>
Co-authored-by: Ebin-McW <ebin.jose at multicorewareinc.com>
Co-authored-by: Michal Paszkowski <michal at michalpaszkowski.com>



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