[all-commits] [llvm/llvm-project] 4510d5: [LLVM] Add llvm.[su]mulh intrinsics. (#220293)

Ricardo Jesus via All-commits all-commits at lists.llvm.org
Tue Sep 15 04:58:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4510d555b04130df9fee7af75c34955d1b0d156a
      https://github.com/llvm/llvm-project/commit/4510d555b04130df9fee7af75c34955d1b0d156a
  Author: Ricardo Jesus <rjj at nvidia.com>
  Date:   2026-09-15 (Tue, 15 Sep 2026)

  Changed paths:
    M llvm/docs/LangRef.md
    M llvm/docs/ReleaseNotes.md
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/IntrinsicInst.h
    M llvm/include/llvm/IR/Intrinsics.td
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/lib/Analysis/ValueTracking.cpp
    M llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeTypes.h
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
    M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll
    A llvm/test/CodeGen/AArch64/smulh.ll
    A llvm/test/CodeGen/AArch64/sve-smulh.ll
    A llvm/test/CodeGen/AArch64/sve-umulh.ll
    A llvm/test/CodeGen/AArch64/umulh.ll
    A llvm/test/CodeGen/RISCV/smulh.ll
    A llvm/test/CodeGen/RISCV/umulh.ll
    A llvm/test/CodeGen/X86/smulh.ll
    A llvm/test/CodeGen/X86/umulh.ll

  Log Message:
  -----------
  [LLVM] Add llvm.[su]mulh intrinsics. (#220293)

These intrinsics correspond to (un)signed multiply-high operations. The
motivation for introducing them is to allow more accurate costing
(particularly for vectorisation) and to simplify code generation for
chained multiply-high operations.

Together with subsequent patches to combine and cost the intrinsics,
this gives an 8% speedup on 750.sealcrypto_r on Neoverse V2.



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