Skip to content

Commit 96dfd1e

Browse files
authored
[NFC] Replace report_fatal_error with reportFatalUsageError in DXILIntrinsicExpansion.cpp (#139564)
Replaces the deprecated `report_fatal_error` function with `reportFatalUsageError`
1 parent e1ea86e commit 96dfd1e

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)