diff options
author | Sudharsan Veeravalli <quic_svs@quicinc.com> | 2024-03-29 09:52:05 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-28 21:22:05 -0700 |
commit | e005a09df5b5c7d210ac7cd8cbddb3a4a8663173 (patch) | |
tree | 3547f9bb46bc8bcb8feefb97cf4a9118a3617476 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | c64a328cb4a32e81f8b694162750ec1b8823994c (diff) | |
download | llvm-e005a09df5b5c7d210ac7cd8cbddb3a4a8663173.zip llvm-e005a09df5b5c7d210ac7cd8cbddb3a4a8663173.tar.gz llvm-e005a09df5b5c7d210ac7cd8cbddb3a4a8663173.tar.bz2 |
[RISCV][TypePromotion] Dont generate truncs if PromotedType is greater than Source Type (#86941)
We currently check if the source and promoted types are not equal before
generating truncate instructions. This does not work for RV64 where the
promoted type is i64 and this lead to a crash due to the generation of
truncate instructions from i32 to i64.
Fixes #86400
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions