[all-commits] [llvm/llvm-project] 65e057: [RISCV] Expand mul X, C where C=2^N*(3, 5, 9)*(3, 5, 9...

Philip Reames via All-commits all-commits at lists.llvm.org
Wed Sep 11 07:33:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 65e0574076b86fd5adb432387c23ce9954fb95c4
      https://github.com/llvm/llvm-project/commit/65e0574076b86fd5adb432387c23ce9954fb95c4
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

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

  Log Message:
  -----------
  [RISCV] Expand mul X, C where C=2^N*(3,5,9)*(3,5,9) (#108100)

This is a three deep expression which is deeper than we've otherwise
gone for multiple expansions, but I think it's reasonable to do so. This
covers mul by 50, 100, and 200 which are reasonably common naturally
arising numbers.



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