]> granicus.if.org Git - llvm/commit
[Attributor][NFC] Avoid unnecessary liveness queries
authorJohannes Doerfert <jdoerfert@anl.gov>
Wed, 7 Aug 2019 22:32:38 +0000 (22:32 +0000)
committerJohannes Doerfert <jdoerfert@anl.gov>
Wed, 7 Aug 2019 22:32:38 +0000 (22:32 +0000)
commite892d1f282c0f7458353c4b3e22b7e58e873e9f0
tree4f1b4b3585c590a00309dfea1d8a8981d66c527f
parent30deba89f049061618ee7f88e1a08c02b27054e7
[Attributor][NFC] Avoid unnecessary liveness queries

If we know everything is live there is no need to query for liveness.
Indicating a pessimistic fixpoint will cause the state to be "invalid"
which will cause the Attributor to not return the AAIsDead on request,
which will prevent us from querying isAssumedDead().

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/Attributor.cpp