The BlockExtractorPass() constructor was not reading the BlockFile and that was
authorRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 Jul 2010 00:32:17 +0000 (00:32 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Sat, 31 Jul 2010 00:32:17 +0000 (00:32 +0000)
commitd720670393434effa832b686b4a482b736bd9c4d
tree64b09059760c00b02377c286b448da8c872bc63f
parent7f9cb744f284f23b362b010c1986d230c89d179c
The BlockExtractorPass() constructor was not reading the BlockFile and that was
exactly what bugpoint expected it to do.

There was also only one user of
BlockExtractorPass(const std::vector<BasicBlock*> &B), so just remove it and
make BlockExtractorPass read BlockFile.

This fixes bugpoint's block extraction.

Nick, please review.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109936 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Transforms/IPO.h
lib/Transforms/IPO/LoopExtractor.cpp
tools/bugpoint/ExtractFunction.cpp