aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorJohn Brawn <john.brawn@arm.com>2018-07-30 11:52:08 +0000
committerJohn Brawn <john.brawn@arm.com>2018-07-30 11:52:08 +0000
commitcd73fe8989781a390131a84d61f662894181dcf8 (patch)
tree1845f1966523f80a279a4b1261796895ee8d887d /clang/lib/Serialization/ModuleManager.cpp
parent4055d8c9fa4c50b3126bf15c9df17adeffb14863 (diff)
downloadllvm-cd73fe8989781a390131a84d61f662894181dcf8.zip
llvm-cd73fe8989781a390131a84d61f662894181dcf8.tar.gz
llvm-cd73fe8989781a390131a84d61f662894181dcf8.tar.bz2
[BasicAA] Use PhiValuesAnalysis if available when handling phi alias
By using PhiValuesAnalysis we can get all the values reachable from a phi, so we can be more precise instead of giving up when a phi has phi operands. We can't make BaseicAA directly use PhiValuesAnalysis though, as the user of BasicAA may modify the function in ways that PhiValuesAnalysis can't cope with. For this optional usage to work correctly BasicAAWrapperPass now needs to be not marked as CFG-only (i.e. it is now invalidated even when CFG is preserved) due to how the legacy pass manager handles dependent passes being invalidated, namely the depending pass still has a pointer to the now-dead dependent pass. Differential Revision: https://reviews.llvm.org/D44564 llvm-svn: 338242
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions