Skip to content

Commit

Permalink
[LegalizeDAG] Add return to the strict node handling in PromoteLegalI…
Browse files Browse the repository at this point in the history
…NT_TO_FP to prevent an invalid strict fp node from being created by falling into non-strict code path.
  • Loading branch information
topperc committed Dec 19, 2019
1 parent 2034570 commit e6e23a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
Expand Up @@ -2533,6 +2533,7 @@ void SelectionDAGLegalize::PromoteLegalINT_TO_FP(
dl, NewInTy, LegalOp)});
Results.push_back(Res);
Results.push_back(Res.getValue(1));
return;
}

Results.push_back(
Expand Down

0 comments on commit e6e23a2

Please sign in to comment.