[all-commits] [llvm/llvm-project] 4df93e: [NVPTX] Add clmad instruction selection (#216412)

robertvirany via All-commits all-commits at lists.llvm.org
Mon Sep 14 06:44:16 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4df93e3b7b1ece75ec6b93971fc1d86fb093a72d
      https://github.com/llvm/llvm-project/commit/4df93e3b7b1ece75ec6b93971fc1d86fb093a72d
  Author: robertvirany <robertvirany at gmail.com>
  Date:   2026-09-14 (Mon, 14 Sep 2026)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/lib/Target/NVPTX/NVPTXSubtarget.h
    A llvm/test/CodeGen/NVPTX/clmad.ll

  Log Message:
  -----------
  [NVPTX] Add clmad instruction selection (#216412)

Add instruction selection for the PTX 9.3 `clmad.{lo,hi}.u64`
instructions on SM80 and newer targets.

Select `clmad` for `i64` carryless multiply-add expressions represented
as an XOR of `ISD::CLMUL` or `ISD::CLMULH` with an accumulator.
Standalone carryless multiplies are selected as `clmad` with an
immediate zero-accumulator.

The first commit precommits tests showing the existing SelectionDAG
expansion.



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