[all-commits] [llvm/llvm-project] 7510f3: [MachineSink] Fix crash due to use-after-free in a...
Amara Emerson via All-commits
all-commits at lists.llvm.org
Fri Oct 6 15:02:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7510f32f906ab4e583542eae2611b020f88629af
https://github.com/llvm/llvm-project/commit/7510f32f906ab4e583542eae2611b020f88629af
Author: Amara Emerson <amara at apple.com>
Date: 2023-10-06 (Fri, 06 Oct 2023)
Changed paths:
M llvm/lib/CodeGen/MachineSink.cpp
A llvm/test/CodeGen/AArch64/machine-sink-cache-invalidation.ll
Log Message:
-----------
[MachineSink] Fix crash due to use-after-free in a MachineInstr* cache.
After the SinkAndFold optimization was enabled, we saw some crashes with
GISel due to SinkAndFold erasing an MI while a reference was being held in a
cache.
More information about the All-commits
mailing list