[all-commits] [llvm/llvm-project] e1bb05: [MachineBasicBlock] Fix use after free in SplitCri...
Carl Ritson via All-commits
all-commits at lists.llvm.org
Sun Oct 15 01:32:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1bb0598b2c0ecb098c7032716e3ae10f10a4da7
https://github.com/llvm/llvm-project/commit/e1bb0598b2c0ecb098c7032716e3ae10f10a4da7
Author: Carl Ritson <carl.ritson at amd.com>
Date: 2023-10-15 (Sun, 15 Oct 2023)
Changed paths:
M llvm/lib/CodeGen/MachineBasicBlock.cpp
Log Message:
-----------
[MachineBasicBlock] Fix use after free in SplitCriticalEdge (#68786)
Remove use after free when attempting to update SlotIndexes in
MachineBasicBlock::SplitCriticalEdge.
Use MachineFunction delegate mechanism to capture target specific
manipulations of branch instructions and update SlotIndexes.
More information about the All-commits
mailing list