riscv_sllw/srlw only reads the lower 32 bits of the first operand.
And the lower 5 bits of the second operands. Whether the upper
32 bits of the input are sign bits or not doesn't matter.
Also use ineg and not to shorten the patterns.
Differential D90668
[RISCV] Remove assertsexti32 from inputs to riscv_sllw/srlw nodes in B extension isel patterns. craig.topper on Nov 2 2020, 9:58 PM. Authored by
Details riscv_sllw/srlw only reads the lower 32 bits of the first operand. Also use ineg and not to shorten the patterns.
Diff Detail
Unit Tests |