Further, after MUL is decomposed, use ALSL instead of SLLI and ADD
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D140282  
[LoongArch] Break MUL into SLLI and SUB or ADD ClosedPublic Authored by gonglingqin on Dec 18 2022, 10:56 PM. 
Details Summary Further, after MUL is decomposed, use ALSL instead of SLLI and ADD 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Dec 18 2022, 11:06 PM Closed by commit rG9aa5de974629: [LoongArch] Break MUL into SLLI and SUB or ADD (authored by gonglingqin).  ·  Explain WhyDec 20 2022, 3:47 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 484209 llvm/lib/Target/LoongArch/LoongArchISelLowering.h
 llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
 llvm/test/CodeGen/LoongArch/alsl.ll
 llvm/test/CodeGen/LoongArch/ir-instruction/mul.ll
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||