Skip to content
Commit f9d7f772 authored by Craig Topper's avatar Craig Topper
Browse files

[RISCV] Have customLegalizeToWOp truncate to the original type instead of i32...

[RISCV] Have customLegalizeToWOp truncate to the original type instead of i32 now that we use it for i8/i16 as well.

239cfbcc add support for legalizing
i8/i16 UDIV/UREM/SDIV to use *W instructions. So we need to truncate
to i8/i16 if we're legalizing one of those.
parent 1d6df1fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment