[PATCH] D140282: [LoongArch] Break MUL into SLLI and SUB or ADD

Gong LingQin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 18 22:56:41 PST 2022


gonglingqin created this revision.
gonglingqin added reviewers: xen0n, xry111, SixWeining, wangleiat, MaskRay, XiaodongLoong.
Herald added subscribers: StephenFan, hiraditya.
Herald added a project: All.
gonglingqin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140282

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140282.483860.patch
Type: text/x-patch
Size: 9103 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221219/fd7e681d/attachment.bin>


More information about the llvm-commits mailing list