diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-09-23 13:57:00 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-09-23 14:18:07 -0700 |
commit | 8811227a0c0ac398857988b4fce0fb4dc699468b (patch) | |
tree | f9012ba7354bf1320c65aa18636dd5ef5118d66f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 093245ed9ee495146b3478447473ad21ae237cb1 (diff) | |
download | llvm-8811227a0c0ac398857988b4fce0fb4dc699468b.zip llvm-8811227a0c0ac398857988b4fce0fb4dc699468b.tar.gz llvm-8811227a0c0ac398857988b4fce0fb4dc699468b.tar.bz2 |
[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).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions