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

[RISCV] Add tests for existing (rotr (bswap X), (i32 16))->grevi pattern for...

[RISCV] Add tests for existing (rotr (bswap X), (i32 16))->grevi pattern for RV32. Extend same pattern to rotl and GREVIW.

Not sure why bswap was treated specially. This also applies to bitreverse
or generic grevi. We can improve this in future patches.
For now I just wanted to get the consistency and the test coverage
as I plan to make some other changes around bswap.
parent 88974e82
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment