diff options
author | Craig Topper <craig.topper@sifive.com> | 2021-03-09 09:33:00 -0800 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2021-03-09 09:39:59 -0800 |
commit | 77ac3166e59f14dee8301c7770882885fb2cbfa3 (patch) | |
tree | 4dcc2563818d1675b47c5a2f163d5dead984f41e /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 736afe465f4216f55372a907d7288910f9de6bea (diff) | |
download | llvm-77ac3166e59f14dee8301c7770882885fb2cbfa3.zip llvm-77ac3166e59f14dee8301c7770882885fb2cbfa3.tar.gz llvm-77ac3166e59f14dee8301c7770882885fb2cbfa3.tar.bz2 |
[RISCV] Add support for fixed vector reductions.
I've included tests that require type legalization to split the
vector. The i64 version of these scalarizes on RV32 due to type
legalization visiting the result before the vector type. So we
have to abort our custom expansion to avoid creating target
specific nodes with an illegal type. Then type legalization ends
up scalarizing. We might be able to fix this by doing custom
splitting for large vectors in our handler to get down to a legal
type.
Reviewed By: frasercrmck
Differential Revision: https://reviews.llvm.org/D98102
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions