diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2016-02-13 23:32:00 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2016-02-13 23:32:00 +0000 |
commit | 6f5770b10f85958b53d9638c560c0e918a8ad239 (patch) | |
tree | 475458a1539b5c9f96debef8481724b2dc32ea6f /llvm/lib/Analysis/AliasAnalysis.cpp | |
parent | 3f7f883e060923a0844971e0a8a16e459ef9e099 (diff) | |
download | bcm5719-llvm-6f5770b10f85958b53d9638c560c0e918a8ad239.tar.gz bcm5719-llvm-6f5770b10f85958b53d9638c560c0e918a8ad239.zip |
[PM/AA] Actually wire the AAManager I built for the new pass manager
into the new pass manager and fix the latent bugs there.
This lets everything live together nicely, but it isn't really useful
yet. I never finished wiring the AA layer up for the new pass manager,
and so subsequent patches will change this to do that wiring and get AA
stuff more fully integrated into the new pass manager. Turns out this is
necessary even to get functionattrs ported over. =]
llvm-svn: 260836
Diffstat (limited to 'llvm/lib/Analysis/AliasAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/AliasAnalysis.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/AliasAnalysis.cpp b/llvm/lib/Analysis/AliasAnalysis.cpp index a30aedc4060..937841f206f 100644 --- a/llvm/lib/Analysis/AliasAnalysis.cpp +++ b/llvm/lib/Analysis/AliasAnalysis.cpp @@ -390,6 +390,9 @@ bool AAResults::canInstructionRangeModRef(const Instruction &I1, // Provide a definition for the root virtual destructor. AAResults::Concept::~Concept() {} +// Provide a definition for the static object used to identify passes. +char AAManager::PassID; + namespace { /// A wrapper pass for external alias analyses. This just squirrels away the /// callback used to run any analyses and register their results. |