[PATCH] D147293: [Chkpnt] TakeName and DestroyName
Vasileios Porpodas via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 30 19:55:35 PDT 2023
vporpo created this revision.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vporpo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This patch adds support for tracking `Value::takeName()` and name destruction.
This means that a `Chkpnt.restore()` can now revert these actions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D147293
Files:
llvm/include/llvm/IR/CheckpointChanges.h
llvm/include/llvm/IR/CheckpointTracker.h
llvm/lib/IR/CheckpointChanges.cpp
llvm/lib/IR/CheckpointTracker.cpp
llvm/lib/IR/Value.cpp
llvm/unittests/IR/CheckpointTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147293.509885.patch
Type: text/x-patch
Size: 6118 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230331/b35525ac/attachment.bin>
More information about the llvm-commits
mailing list