diff options
author | Davide Italiano <davide@freebsd.org> | 2015-10-15 01:12:01 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2015-10-15 01:12:01 +0000 |
commit | 0c90106f289c6bd923ff26117fa9455862f6231d (patch) | |
tree | f5e37a973d96ce688ed1d48061bf0ae7c66a04c3 /llvm/tools/bugpoint/bugpoint.cpp | |
parent | 5ea4483a323bb85acecc06db9b90e79b82c8fcbc (diff) | |
download | bcm5719-llvm-0c90106f289c6bd923ff26117fa9455862f6231d.tar.gz bcm5719-llvm-0c90106f289c6bd923ff26117fa9455862f6231d.zip |
[bugpoint] llvm-gcc doesn't exist anymore ...
... so this comment is stale. Remove it. Range-loopify while here.
llvm-svn: 250354
Diffstat (limited to 'llvm/tools/bugpoint/bugpoint.cpp')
-rw-r--r-- | llvm/tools/bugpoint/bugpoint.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/tools/bugpoint/bugpoint.cpp b/llvm/tools/bugpoint/bugpoint.cpp index ce3d936c819..48f30e6709f 100644 --- a/llvm/tools/bugpoint/bugpoint.cpp +++ b/llvm/tools/bugpoint/bugpoint.cpp @@ -180,19 +180,12 @@ int main(int argc, char **argv) { Builder.Inliner = createFunctionInliningPass(225); else Builder.Inliner = createFunctionInliningPass(275); - - // Note that although clang/llvm-gcc use two separate passmanagers - // here, it shouldn't normally make a difference. Builder.populateFunctionPassManager(PM); Builder.populateModulePassManager(PM); } - for (std::vector<const PassInfo*>::iterator I = PassList.begin(), - E = PassList.end(); - I != E; ++I) { - const PassInfo* PI = *I; + for (const PassInfo *PI : PassList) D.addPass(PI->getPassArgument()); - } // Bugpoint has the ability of generating a plethora of core files, so to // avoid filling up the disk, we prevent it |