diff options
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-05-30 08:06:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-30 08:06:53 +0200 |
| commit | 36b710a7e5c3bb382425c49d65400bc4adf5d1af (patch) | |
| tree | d35d2d3e56dc6a264d7363618120e95dd99cf32d /llvm/lib/CodeGen/LiveVariables.cpp | |
| parent | 72a3c7610b4f97b43d5cd30f1d5b95bad5e77640 (diff) | |
CodeGen: Convert some assorted errors to use reportFatalUsageError (#142031)
The test coverage is lacking for many of these errors.
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/LiveVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveVariables.cpp b/llvm/lib/CodeGen/LiveVariables.cpp index 76e36a00f214..1f23418642bc 100644 --- a/llvm/lib/CodeGen/LiveVariables.cpp +++ b/llvm/lib/CodeGen/LiveVariables.cpp @@ -632,7 +632,7 @@ void LiveVariables::analyze(MachineFunction &mf) { // LiveVariables to improve compilation time and eliminate bizarre pass // dependencies. Until then, we can't change much in -O0. if (!MRI->isSSA()) - report_fatal_error("regalloc=... not currently supported with -O0"); + reportFatalUsageError("regalloc=... not currently supported with -O0"); analyzePHINodes(mf); |
