[PATCH] D157416: [RISCV][GlobalISel] Legalize multiplication
Nitin John Raj via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 8 13:57:57 PDT 2023
nitinjohnraj created this revision.
nitinjohnraj added reviewers: craig.topper, arsenm.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya, arichardson.
Herald added a project: All.
nitinjohnraj updated this revision to Diff 548292.
nitinjohnraj added a comment.
nitinjohnraj published this revision for review.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay, wdng.
Herald added a project: LLVM.
Fixed legalization for 2 x XLen without extensions
Legalize multiplication with the +m, +zmmul extensions and without extensions. With extensions, we test for (s7, s8, s16, s32, s48, s64, s96) on rv32 and (s8, s15, s32, s64, s72, s128, s192) on rv64. Without extensions, test (s7, s8, s16, s32) on rv32 and (s8, s15, s16, s32, s64) on rv64. Does not yet work for the type which is 2 times XLen without extensions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157416
Files:
llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-mul-ext.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-mul.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-mul-ext.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-mul.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157416.548292.patch
Type: text/x-patch
Size: 50064 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230808/b0db8bfa/attachment.bin>
More information about the llvm-commits
mailing list