aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authoryingopq <115543042+yingopq@users.noreply.github.com>2025-01-20 16:47:40 +0800
committerGitHub <noreply@github.com>2025-01-20 16:47:40 +0800
commit754ed95b6672b9a678a994cc652862a91cdc4406 (patch)
tree2a150fae953cd4d1b2016888fdb4569f0b7676e9 /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parent333562e7ec0393ba0110100ac7bea9bcf7150d03 (diff)
downloadllvm-754ed95b6672b9a678a994cc652862a91cdc4406.zip
llvm-754ed95b6672b9a678a994cc652862a91cdc4406.tar.gz
llvm-754ed95b6672b9a678a994cc652862a91cdc4406.tar.bz2
[Mips] Fix compiler crash when returning fp128 after calling a functi… (#117525)
…on returning { i8, i128 } Fixes https://github.com/llvm/llvm-project/issues/96432.
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index ec5b058..5a31457 100644
--- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
@@ -1001,7 +1001,7 @@ bool FastISel::lowerCallTo(CallLoweringInfo &CLI) {
GetReturnInfo(CLI.CallConv, CLI.RetTy, getReturnAttrs(CLI), Outs, TLI, DL);
bool CanLowerReturn = TLI.CanLowerReturn(
- CLI.CallConv, *FuncInfo.MF, CLI.IsVarArg, Outs, CLI.RetTy->getContext());
+ CLI.CallConv, *FuncInfo.MF, CLI.IsVarArg, Outs, CLI.RetTy->getContext(), CLI.RetTy);
// FIXME: sret demotion isn't supported yet - bail out.
if (!CanLowerReturn)