[all-commits] [llvm/llvm-project] bec77e: [CallGraph] Preserve call records vector when repl...
Sergey Dmitriev via All-commits
all-commits at lists.llvm.org
Mon Jul 27 06:16:55 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: bec77ece14890d2aa40c76eedc6a7a406d84f1fc
https://github.com/llvm/llvm-project/commit/bec77ece14890d2aa40c76eedc6a7a406d84f1fc
Author: Sergey Dmitriev <serguei.n.dmitriev at intel.com>
Date: 2020-07-27 (Mon, 27 Jul 2020)
Changed paths:
M llvm/lib/Analysis/CallGraph.cpp
M llvm/unittests/IR/LegacyPassManagerTest.cpp
Log Message:
-----------
[CallGraph] Preserve call records vector when replacing call edge
Summary:
Try not to resize vector of call records in a call graph node when
replacing call edge. That would prevent invalidation of iterators
stored in the CG SCC pass manager's scc_iterator.
Reviewers: jdoerfert
Reviewed By: jdoerfert
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D84295
More information about the All-commits
mailing list