[all-commits] [llvm/llvm-project] e005a0: [RISCV][TypePromotion] Dont generate truncs if Pro...
Sudharsan Veeravalli via All-commits
all-commits at lists.llvm.org
Thu Mar 28 21:22:27 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e005a09df5b5c7d210ac7cd8cbddb3a4a8663173
https://github.com/llvm/llvm-project/commit/e005a09df5b5c7d210ac7cd8cbddb3a4a8663173
Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
Date: 2024-03-28 (Thu, 28 Mar 2024)
Changed paths:
M llvm/lib/CodeGen/TypePromotion.cpp
A llvm/test/CodeGen/RISCV/rv64-typepromotion.ll
Log Message:
-----------
[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
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list