From 0c50054820799578be8f62b6fd2cc3fbc751c01e Mon Sep 17 00:00:00 2001 From: Matt Arsenault Date: Sat, 22 Feb 2025 00:21:45 +0700 Subject: Revert "RegAlloc: Fix verifier error after failed allocation (#119690)" This reverts commit 34167f99668ce4d4d6a1fb88453a8d5b56d16ed5. Different set of verifier errors appears after other regalloc failure tests with EXPENSIVE_CHECKS. --- llvm/lib/CodeGen/RegAllocBasic.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'llvm/lib/CodeGen/RegAllocBasic.cpp') diff --git a/llvm/lib/CodeGen/RegAllocBasic.cpp b/llvm/lib/CodeGen/RegAllocBasic.cpp index d240bf9..51e047b 100644 --- a/llvm/lib/CodeGen/RegAllocBasic.cpp +++ b/llvm/lib/CodeGen/RegAllocBasic.cpp @@ -329,7 +329,6 @@ bool RABasic::runOnMachineFunction(MachineFunction &mf) { allocatePhysRegs(); postOptimization(); - cleanupFailedVRegs(); // Diagnostic output before rewriting LLVM_DEBUG(dbgs() << "Post alloc VirtRegMap:\n" << *VRM << "\n"); -- cgit v1.1