Optimize 32-bit x+(y<<i) to (ALSL_W y, x, i) on LoongArch64,
in which i is in [1, 2, 3, 4].
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D147423
[LoongArch] Optimize 32-bit addition with ALSL_W on LoongArch64 ClosedPublic Authored by benshi001 on Apr 2 2023, 10:20 PM.
Details Summary Optimize 32-bit x+(y<<i) to (ALSL_W y, x, i) on LoongArch64,
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Apr 2 2023, 10:23 PM Closed by commit rGa703a9ae33a8: [LoongArch] Optimize 32-bit addition with ALSL_W on LoongArch64 (authored by benshi001). · Explain WhyApr 2 2023, 11:47 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 510408 llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
llvm/test/CodeGen/LoongArch/ir-instruction/mul.ll
|