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

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

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

These tests have C1 as a shifted mask having no leading zeros and
C3 trailing zeros. If C3 is more than C2, we can select this as
(slli (srli x, C3-C2), C3).
parent 093245ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment