mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-29 13:32:33 +00:00
Use BitVector instead of std::vector<unsigned char>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eace52f12d
commit
c53ec49885
@ -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…
x
Reference in New Issue
Block a user