mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[PM] Try to improve the comments here to make what's going on more
clear. Based on post-commit review suggestion from Sean. (Thanks!) llvm-svn: 290488
This commit is contained in:
parent
9787de60b2
commit
4369adcbc1
@ -561,10 +561,12 @@ AAManager PassBuilder::buildDefaultAAPipeline() {
|
||||
AA.registerFunctionAnalysis<TypeBasedAA>();
|
||||
|
||||
// Add support for querying global aliasing information when available.
|
||||
// Because this is a module analysis this will use any cached analysis state
|
||||
// available but isn't enough to cause it to be available.
|
||||
// FIXME: Enable once the invalidation logic supports this.
|
||||
// Because the `AAManager` is a function analysis and `GlobalsAA` is a module
|
||||
// analysis, all that the `AAManager` can do is query for any *cached*
|
||||
// results from `GlobalsAA` through a readonly proxy..
|
||||
#if 0
|
||||
// FIXME: Enable once the invalidation logic supports this. Currently, the
|
||||
// `AAManager` will hold stale references to the module analyses.
|
||||
AA.registerModuleAnalysis<GlobalsAA>();
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user