[Attributor][NFCI] Avoid AAIntraFnReachability updates if possible
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 3 Feb 2023 10:35:06 +0000 (02:35 -0800)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 10 Feb 2023 17:56:09 +0000 (11:56 -0600)
commit86cce90e21c5e944ae8525b4bc6064758393c88e
tree96c1c8c85180bedac437ecaab4033387d580427c
parenta9557aacd1a9a7ffb75dfb54cdc23398f69a4e36
[Attributor][NFCI] Avoid AAIntraFnReachability updates if possible

Even if liveness changed, we only care about certain dead edges in
AAIntraFnReachability. If those are still dead, we can avoid an update.
llvm/lib/Transforms/IPO/AttributorAttributes.cpp