[all-commits] [llvm/llvm-project] b4f923: [RISCV] Strength reduce mul by 2^M - 3/5/9 (#88993)

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Apr 24 07:55:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b4f923e9124c5ec0619a962deb386dd9b52a29be
      https://github.com/llvm/llvm-project/commit/b4f923e9124c5ec0619a962deb386dd9b52a29be
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

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

  Log Message:
  -----------
  [RISCV] Strength reduce mul by 2^M - 3/5/9 (#88993)

We can expand these as the three instruction sequence: (sub (shl X, C1), (shXadd X, x)).



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