[all-commits] [llvm/llvm-project] 28fdda: [RISCV] Use SLLI.UW in double-SHL_ADD multiplicati...

Piotr Fusik via All-commits all-commits at lists.llvm.org
Thu Nov 6 21:47:22 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 28fdda6ae1ba4ae1c5888b1f286cb7fc3703846d
      https://github.com/llvm/llvm-project/commit/28fdda6ae1ba4ae1c5888b1f286cb7fc3703846d
  Author: Piotr Fusik <p.fusik at samsung.com>
  Date:   2025-11-07 (Fri, 07 Nov 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelLowering.cpp
    M llvm/test/CodeGen/RISCV/rv64zba.ll

  Log Message:
  -----------
  [RISCV] Use SLLI.UW in double-SHL_ADD multiplications (#166728)

Similarily to muls by 3/5/9 << N, emit the SHL first for other SHL_ADD
multiplications, if it can be fold into SLLI.UW.



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