aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-09-23 13:57:00 -0700
committerCraig Topper <craig.topper@sifive.com>2021-09-23 14:18:07 -0700
commit8811227a0c0ac398857988b4fce0fb4dc699468b (patch)
treef9012ba7354bf1320c65aa18636dd5ef5118d66f /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent093245ed9ee495146b3478447473ad21ae237cb1 (diff)
downloadllvm-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