[llvm] Support STRICT_UINT_TO_FP and STRICT_SINT_TO_FP (PR #102503)
Mikhail R. Gadelha via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 6 11:44:58 PDT 2024
================
@@ -3473,7 +3475,7 @@ bool DAGTypeLegalizer::SoftPromoteHalfOperand(SDNode *N, unsigned OpNo) {
assert(Res.getNode() != N && "Expected a new node!");
- assert(Res.getValueType() == N->getValueType(0) && N->getNumValues() == 1 &&
+ assert(Res.getValueType() == N->getValueType(0) &&
----------------
mikhailramalho wrote:
We need this change because we now support returning two values, e.g., `t11: i32,ch = strict_fp_to_sint t0, t5`
https://github.com/llvm/llvm-project/pull/102503
More information about the llvm-commits
mailing list