Skip to content
Commit 649e1d1b authored by Nitin John Raj's avatar Nitin John Raj
Browse files

[RISCV][GlobalISel] Legalize bitshift instructions for narrow types

Legalize G_SHL, G_ASHR and G_LSHR for types narrower and upto (and including) XLen: (i7, i8,
i16 and i32) for rv32 and (i8, i15, i16, i32 and i64) for rv64. This requires
adding some rules to handle G_ANYEXT, G_ZEXT and G_SEXT.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D155772
parent f0a3954e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment