[all-commits] [llvm/llvm-project] 4f1c8b: [RegAlloc] Fix use-after-free in `RegAllocBase::cl...
Shilei Tian via All-commits
all-commits at lists.llvm.org
Wed Jul 30 19:10:55 PDT 2025
Branch: refs/heads/users/shiltian/fix-use-after-free-after-cleanup
Home: https://github.com/llvm/llvm-project
Commit: 4f1c8bc26102c057ad383d4d7cc9c5067f8d63e7
https://github.com/llvm/llvm-project/commit/4f1c8bc26102c057ad383d4d7cc9c5067f8d63e7
Author: Shilei Tian <i at tianshilei.me>
Date: 2025-07-30 (Wed, 30 Jul 2025)
Changed paths:
M llvm/lib/CodeGen/RegAllocBase.cpp
A llvm/test/CodeGen/AMDGPU/use-after-free-after-cleanup-failed-vreg.ll
Log Message:
-----------
[RegAlloc] Fix use-after-free in `RegAllocBase::cleanupFailedVReg`
Since #128400 already mentions it's not clear about the necessity of removing intervals from regunits, this PR avoids the issue by simply skipping that step.
Fixes SWDEV-527146.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list