[all-commits] [llvm/llvm-project] cb0ecc: [CallGraphUpdater] Remove dead constants before re...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Wed Apr 8 21:03:45 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: cb0ecc5c33bd56a3eed0fa30ac787accec45d637
https://github.com/llvm/llvm-project/commit/cb0ecc5c33bd56a3eed0fa30ac787accec45d637
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-04-08 (Wed, 08 Apr 2020)
Changed paths:
M llvm/lib/Transforms/Utils/CallGraphUpdater.cpp
M llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
Log Message:
-----------
[CallGraphUpdater] Remove dead constants before replacing a function
Dead constants might be left when a function is replaced, we can
gracefully handle this case and avoid complexity for the users who would
see an assertion otherwise.
More information about the All-commits
mailing list