[all-commits] [llvm/llvm-project] 42e0d3: [NVPTX] Enhance `mul.wide` and `mad.wide` peephole...

Justin Fargnoli via All-commits all-commits at lists.llvm.org
Wed Jul 30 08:57:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42e0d302686657cc381dc49033f68daa0f09b046
      https://github.com/llvm/llvm-project/commit/42e0d302686657cc381dc49033f68daa0f09b046
  Author: Justin Fargnoli <jfargnoli at nvidia.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp
    M llvm/lib/Target/NVPTX/NVPTXISelDAGToDAG.h
    M llvm/lib/Target/NVPTX/NVPTXISelLowering.cpp
    M llvm/lib/Target/NVPTX/NVPTXInstrInfo.td
    M llvm/test/CodeGen/NVPTX/bug26185-2.ll
    A llvm/test/CodeGen/NVPTX/combine-wide.ll
    M llvm/test/CodeGen/NVPTX/local-stack-frame.ll
    M llvm/test/CodeGen/NVPTX/vector-loads.ll

  Log Message:
  -----------
  [NVPTX] Enhance `mul.wide` and `mad.wide` peepholes (#150477)

Implements `(sign_extend|zero_extend (mul|shl) x, y) -> (mul.wide x, y)`
as a DAG combine.
Implements `(add (mul.wide a, b), c) -> (mad.wide a, b, c)` in
instruction selection.



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