diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-01-31 17:37:44 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-01-31 17:49:15 -0800 |
commit | 44cc5abbf9166c47a1da7027123b13d230442610 (patch) | |
tree | 9b9df8e562f64516ecab7ec7637de692e6d40979 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 6e58539659aea0ee621c7e267d825aa82d4e7e96 (diff) | |
download | llvm-44cc5abbf9166c47a1da7027123b13d230442610.zip llvm-44cc5abbf9166c47a1da7027123b13d230442610.tar.gz llvm-44cc5abbf9166c47a1da7027123b13d230442610.tar.bz2 |
[RISCV] Custom lower fshl/fshr with Zbt extension.
We need to add a mask to the shift amount for these operations
to use the FSR/FSL instructions. We were previously doing this
in isel patterns, but custom lowering will make the mask
visible to optimizations earlier.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions