[all-commits] [llvm/llvm-project] 9aa5de: [LoongArch] Break MUL into SLLI and SUB or ADD

Gong LingQin via All-commits all-commits at lists.llvm.org
Tue Dec 20 03:47:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9aa5de9746292dbdc1e1bce0c27004ad6fe1c352
      https://github.com/llvm/llvm-project/commit/9aa5de9746292dbdc1e1bce0c27004ad6fe1c352
  Author: gonglingqin <gonglingqin at loongson.cn>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
    M llvm/lib/Target/LoongArch/LoongArchISelLowering.h
    M llvm/test/CodeGen/LoongArch/alsl.ll
    M llvm/test/CodeGen/LoongArch/ir-instruction/mul.ll

  Log Message:
  -----------
  [LoongArch] Break MUL into SLLI and SUB or ADD

Further, after MUL is decomposed, use ALSL instead of SLLI and ADD

Differential Revision: https://reviews.llvm.org/D140282




More information about the All-commits mailing list