[all-commits] [llvm/llvm-project] b0d241: [NVPTX] Support copysign PTX instruction (#107800)

Alex MacLean via All-commits all-commits at lists.llvm.org
Mon Sep 9 17:37:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0d2411b53a0b55baf6d6dc7986d285ce59807fa
      https://github.com/llvm/llvm-project/commit/b0d2411b53a0b55baf6d6dc7986d285ce59807fa
  Author: Alex MacLean <amaclean at nvidia.com>
  Date:   2024-09-09 (Mon, 09 Sep 2024)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXIntrinsics.td
    A llvm/test/CodeGen/NVPTX/copysign.ll
    M llvm/test/CodeGen/NVPTX/math-intrins.ll

  Log Message:
  -----------
  [NVPTX] Support copysign PTX instruction (#107800)

Lower `fcopysign` SDNodes into `copysign` PTX instructions where
possible. See [PTX ISA: 9.7.3.2. Floating Point Instructions: copysign]
(https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#floating-point-instructions-copysign).



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