mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 20:12:56 +02:00
Use BitVector instead of std::vector<unsigned char>.
llvm-svn: 55054
This commit is contained in:
parent
9a43334166
commit
22c225c022
@ -5210,8 +5210,7 @@ void SelectionDAGISel::BuildSelectionDAG(SelectionDAG &DAG, BasicBlock *LLVMBB,
|
||||
// Emit constants only once even if used by multiple PHI nodes.
|
||||
std::map<Constant*, unsigned> ConstantsOut;
|
||||
|
||||
// Vector bool would be better, but vector<bool> is really slow.
|
||||
std::vector<unsigned char> SuccsHandled;
|
||||
BitVector SuccsHandled;
|
||||
if (TI->getNumSuccessors())
|
||||
SuccsHandled.resize(BB->getParent()->getNumBlockIDs());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user