[PATCH] D155639: [RISCV][GlobalISel] Test legalization of binary logical instructions with wider types
Nitin John Raj via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 18 13:38:01 PDT 2023
nitinjohnraj created this revision.
nitinjohnraj added reviewers: arsenm, craig.topper.
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, arichardson.
Herald added a project: All.
nitinjohnraj requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay, wdng.
Herald added a project: LLVM.
Without any additional tweaking, we can successfully legalize for wider
types (i64, i96 for rv32; i128, i192 for rv64) that are integer
multiples of XLen.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155639
Files:
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-and.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-or.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-xor.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-and.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-or.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-xor.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155639.541715.patch
Type: text/x-patch
Size: 15580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230718/91cb1cbc/attachment-0001.bin>
More information about the llvm-commits
mailing list