diff options
Diffstat (limited to 'backend/lib/CodeGen/RegAllocBasic.cpp')
| -rw-r--r-- | backend/lib/CodeGen/RegAllocBasic.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/lib/CodeGen/RegAllocBasic.cpp b/backend/lib/CodeGen/RegAllocBasic.cpp index 7f730ca..c3ed98b 100644 --- a/backend/lib/CodeGen/RegAllocBasic.cpp +++ b/backend/lib/CodeGen/RegAllocBasic.cpp @@ -128,7 +128,7 @@ Expected<MachinePassResult> BasicAllocatorPass::run(MachineFunction &Function, BasicAllocatorEngine Allocator(Function, Target, *Info, Analyses, Options); auto Allocated = Allocator.run(); if (!Allocated) { - return std::unexpected(regalloc_detail::withPrefix( + return std::unexpected(withErrorContext( Allocated.error(), "BasicAllocator diverged after a successful transaction preflight: ")); } auto Reserved = regalloc_detail::reserveFunctionRegisters(Function, FunctionReserved); |
