Skip to content

Commit 3c0a1d8

Browse files
Icohedrongithub-actions[bot]
authored andcommitted
Automerge: [NFC] Replace report_fatal_error with reportFatalUsageError in DXILIntrinsicExpansion.cpp (#139564)
Replaces the deprecated `report_fatal_error` function with `reportFatalUsageError`
2 parents d0e1cf4 + 96dfd1e commit 3c0a1d8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Target/DirectX/DXILIntrinsicExpansion.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,7 @@ static Value *expandIsFPClass(CallInst *Orig) {
320320
return RetVal;
321321
}
322322
default:
323-
report_fatal_error(Twine("Unsupported FPClassTest"),
324-
/* gen_crash_diag=*/false);
323+
reportFatalUsageError("Unsupported FPClassTest");
325324
}
326325
}
327326

0 commit comments

Comments
 (0)