[PATCH] D76354: [WIP][RISCV][GlobalISel] Legalize types for ALU operations
Lewis Revill via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 18 04:51:36 PDT 2020
lewis-revill created this revision.
lewis-revill added reviewers: asb, lenary, luismarques, simoncook, apazos, weiwei, shiva0217.
Herald added subscribers: llvm-commits, evandro, sameer.abuasal, pzheng, s.egerton, Jim, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, MaskRay, jrtc27, kito-cheng, niosHD, sabuasal, johnrusso, rbar, hiraditya, rovka.
Herald added a project: LLVM.
lewis-revill updated this revision to Diff 251036.
lewis-revill added a comment.
Fix copy/paste mistakes in check lines
This patch defines ALU operations with XLen types as legal. Necessary pathways for lowering sign extend and zero extend operations are defined as legal too.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D76354
Files:
llvm/lib/Target/RISCV/RISCVLegalizerInfo.cpp
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/alu32.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/alu64.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76354.251036.patch
Type: text/x-patch
Size: 29666 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200318/ecb0a402/attachment.bin>
More information about the llvm-commits
mailing list