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

[RISCV] Add more tests for (and (srl x, C2), C1) that can be improved by using...

[RISCV] Add more tests for (and (srl x, C2), C1) that can be improved by using a pair of shifts. NFC

These tests have C1 as a shifted mask having C2 leading zeros and some
number of trailing zeros, C3. We can select this as
(slli (srli x, C2+C3), C3) or (slli (srliw x, C2+C3), C3).
parent 5188e2c9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment