diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-11-09 11:16:00 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-11-09 11:32:20 -0800 |
commit | 0b01aebf5e658f3a9c026b194e7d60c0aa7066de (patch) | |
tree | 20e9e604e7fcbf03072e5419a64e147e7b6e7319 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 902976a379c437de844601341a6329236932d19e (diff) | |
download | llvm-0b01aebf5e658f3a9c026b194e7d60c0aa7066de.zip llvm-0b01aebf5e658f3a9c026b194e7d60c0aa7066de.tar.gz llvm-0b01aebf5e658f3a9c026b194e7d60c0aa7066de.tar.bz2 |
[RISCV] Support BSET/BCLR/BINV in hasAllWUsers.
These instructions set, clear, or invert a single bit. If their
users don't use the upper 32 bits, they don't use the upper 32 bits
of their input.
Additionally the second operand BSET/BCLR/BINV is a shift amount
which only uses 6 bits of the source.
Reviewed By: asb
Differential Revision: https://reviews.llvm.org/D137452
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions