diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-09-28 09:54:05 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-09-28 10:13:35 -0700 |
commit | 12357e88af669b00a5c4c607b93b716a6c474846 (patch) | |
tree | 20149cec2b7bc7e0c1b58cffc5c2c97bf9c70ebd /clang/lib/Sema/DeclSpec.cpp | |
parent | 8985cfd93980a1d7d92699bfefce34e7bf5887fb (diff) | |
download | llvm-12357e88af669b00a5c4c607b93b716a6c474846.zip llvm-12357e88af669b00a5c4c607b93b716a6c474846.tar.gz llvm-12357e88af669b00a5c4c607b93b716a6c474846.tar.bz2 |
[RISCV][SelectionDAGBuilder] Fix crash when copying a v1f32 vector between basic blocks.
On a rv64 without f32 or vector support, this will be passed across
the basic block as an i64. We need use i32 as an intermediate type
with bitcast and anyext/trunc.
Fixes PR58025
Reviewed By: RKSimon
Differential Revision: https://reviews.llvm.org/D134758
Diffstat (limited to 'clang/lib/Sema/DeclSpec.cpp')
0 files changed, 0 insertions, 0 deletions