llvm-project
e005a09d - [RISCV][TypePromotion] Dont generate truncs if PromotedType is greater than Source Type (#86941)

Commit
1 year ago
[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
Author
Parents
Loading