[PATCH] D157023: [RISCV][GlobalISel] Legalize G_ICMP and G_SELECT
Nitin John Raj via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 3 11:59:56 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, kristof.beyls, 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.
Test legalization for (i7, i8, i16, i32, i48, i64) on rv32 and for (i8, i15, i16, i32, i64, i72, i128). Legalization fails for i96 on rv32 and i192 on rv64. Note that i192 fails for AArch64 <https://github.com/llvm/llvm-project/issues/64394>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D157023
Files:
llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-icmp.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-select.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-icmp.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-select.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157023.546965.patch
Type: text/x-patch
Size: 159732 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230803/52a65ef5/attachment-0001.bin>
More information about the llvm-commits
mailing list