[llvm] [RegAlloc] Fix use-after-free in `RegAllocBase::cleanupFailedVReg` (PR #151435)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 30 19:46:42 PDT 2025


================
@@ -0,0 +1,15 @@
+; RUN: not llc -mcpu=gfx1100 -mtriple=amdgcn-amd-amdhsa -stress-regalloc=4 %s 2>&1 | FileCheck %s
+
+; CHECK: ran out of registers during register allocation in function 'f'
----------------
shiltian wrote:

Oh I figured. No `Bad machine code`.

https://github.com/llvm/llvm-project/pull/151435


More information about the llvm-commits mailing list