[all-commits] [llvm/llvm-project] d2d2fb: [Attributor][FIX] Allow dead users of rewritten fu...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Fri Jan 3 08:44:56 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d2d2fb19f7ea3b192247ca2d6995e66229366cec
https://github.com/llvm/llvm-project/commit/d2d2fb19f7ea3b192247ca2d6995e66229366cec
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-01-03 (Fri, 03 Jan 2020)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
A llvm/test/Transforms/Attributor/ArgumentPromotion/live_called_from_dead.ll
Log Message:
-----------
[Attributor][FIX] Allow dead users of rewritten function
If we replace a function with a new one because we rewrite the
signature, dead users may still refer to the old version. With this
patch we reuse the code that deals with dead functions, which the old
versions are, to avoid problems.
More information about the All-commits
mailing list