[Attributor] Replace call graph call sites after function replacement
authorJohannes Doerfert <johannes@jdoerfert.de>
Thu, 16 Apr 2020 03:21:17 +0000 (22:21 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 16 Apr 2020 03:24:09 +0000 (22:24 -0500)
commit8c4057e3a35dfab77c0fafc307980124f2b07b5e
tree5f31fe75b9bccfde9f86dd4b3fd169771b386389
parent6c66bb393e1c117f2a7b25ff174a069ba05c5697
[Attributor] Replace call graph call sites after function replacement

The CallGraphUpdater allows to directly alter call site information and
we should do so. This might appease the windows buildbot that crashes
during the SCC traversal.
llvm/lib/Transforms/IPO/Attributor.cpp