[all-commits] [llvm/llvm-project] c5432d: [SandboxIR][Tracker] Track eraseFromParent() (#99431)
vporpo via All-commits
all-commits at lists.llvm.org
Thu Jul 18 11:06:54 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5432d31cb339262451215f6cf9c356a514a1770
https://github.com/llvm/llvm-project/commit/c5432d31cb339262451215f6cf9c356a514a1770
Author: vporpo <vporpodas at google.com>
Date: 2024-07-18 (Thu, 18 Jul 2024)
Changed paths:
M llvm/include/llvm/SandboxIR/SandboxIR.h
M llvm/include/llvm/SandboxIR/Tracker.h
M llvm/lib/SandboxIR/SandboxIR.cpp
M llvm/lib/SandboxIR/Tracker.cpp
M llvm/unittests/SandboxIR/TrackerTest.cpp
Log Message:
-----------
[SandboxIR][Tracker] Track eraseFromParent() (#99431)
This patch adds tracking support for Instruction::eraseFromParent(). The
Instruction is not actually being erased, but instead it is detached
from the instruction list and drops its Use edges. The original
instruction position and Use edges are saved in the `EraseFromParent`
change object, and are being used during `revert()` to restore the
original state.
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