Skip to content

Commit fcc3e6e

Browse files
arsenmgithub-actions[bot]
authored andcommitted
Automerge: AMDGPU: Avoid report_fatal_error for reporting libcalls (#145134)
2 parents fe881a9 + 584a2c2 commit fcc3e6e

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)