Skip to content

Commit 584a2c2

Browse files
authored
AMDGPU: Avoid report_fatal_error for reporting libcalls (#145134)
1 parent ee5dcdc commit 584a2c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3805,7 +3805,7 @@ SDValue SITargetLowering::LowerCall(CallLoweringInfo &CLI,
38053805
}
38063806

38073807
if (!CLI.CB)
3808-
report_fatal_error("unsupported libcall legalization");
3808+
return lowerUnhandledCall(CLI, InVals, "unsupported libcall legalization");
38093809

38103810
if (IsTailCall && MF.getTarget().Options.GuaranteedTailCallOpt) {
38113811
return lowerUnhandledCall(CLI, InVals,

0 commit comments

Comments
 (0)