summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LoopSimplify.cpp
diff options
context:
space:
mode:
authorChad Rosier <mcrosier@apple.com>2011-08-18 19:06:24 +0000
committerChad Rosier <mcrosier@apple.com>2011-08-18 19:06:24 +0000
commit222e187e33315de3e7f373abbf11714cece9aae3 (patch)
tree7b00f9d14ed5953f05a0264d0fffac2bcceea00b /llvm/lib/Transforms/Utils/LoopSimplify.cpp
parent3c06d7f442d21863dd4734397fc232458b735ede (diff)
downloadbcm5719-llvm-222e187e33315de3e7f373abbf11714cece9aae3.tar.gz
bcm5719-llvm-222e187e33315de3e7f373abbf11714cece9aae3.zip
Temporarily revert r137925 to appease buildbots. Original commit message:
Teach ModuleManager::addModule() to check whether a particular module has already been loaded before allocating a new Module structure. If the module has already been loaded (uniquing based on file name), then just return the existing module rather than trying to load it again. This allows us to load a DAG of modules. Introduce a simple test case that forms a diamond-shaped module graph, and illustrates that a source file importing the bottom of the diamond can see declarations in all four of the modules that make up the diamond. llvm-svn: 137971
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud