[all-commits] [llvm/llvm-project] a629d9: [NVPTX] Constant-folding for f2i, d2ui, f2ll etc. ...

Lewis Crawford via All-commits all-commits at lists.llvm.org
Tue Jan 7 05:17:59 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a629d9e102bd3c110135d8c4a084af2eb5f49df9
      https://github.com/llvm/llvm-project/commit/a629d9e102bd3c110135d8c4a084af2eb5f49df9
  Author: Lewis Crawford <lcrawford at nvidia.com>
  Date:   2025-01-07 (Tue, 07 Jan 2025)

  Changed paths:
    R llvm/include/llvm/IR/NVVMIntrinsicFlags.h
    A llvm/include/llvm/IR/NVVMIntrinsicUtils.h
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Target/NVPTX/MCTargetDesc/NVPTXInstPrinter.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    A llvm/test/Transforms/InstSimplify/const-fold-nvvm-f2i-d2i.ll
    A llvm/test/Transforms/InstSimplify/const-fold-nvvm-f2ll-d2ll.ll

  Log Message:
  -----------
  [NVPTX] Constant-folding for f2i, d2ui, f2ll etc. (#118965)

Add constant-folding support for the NVVM intrinsics for converting
float/double to signed/unsigned int32/int64 types, including all
rounding-modes and ftz modifiers.



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