mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Revert "SIL: add a StackList data structure with zero cost operations."
This commit is contained in:
committed by
GitHub
parent
e507bcfc44
commit
ddfdf4779d
@@ -69,7 +69,7 @@
|
||||
#include "swift/SILOptimizer/Utils/InstOptUtils.h"
|
||||
#include "swift/SILOptimizer/Utils/LoadStoreOptUtils.h"
|
||||
#include "swift/SIL/BasicBlockData.h"
|
||||
#include "swift/SIL/BasicBlockDatastructures.h"
|
||||
#include "swift/SIL/BasicBlockBits.h"
|
||||
#include "llvm/ADT/BitVector.h"
|
||||
#include "llvm/ADT/DenseSet.h"
|
||||
#include "llvm/ADT/Statistic.h"
|
||||
@@ -1165,7 +1165,7 @@ void DSEContext::runIterativeDSE() {
|
||||
// Process each basic block with the gen and kill set. Every time the
|
||||
// BBWriteSetIn of a basic block changes, the optimization is rerun on its
|
||||
// predecessors.
|
||||
BasicBlockWorklist WorkList(F);
|
||||
BasicBlockWorklist<16> WorkList(F);
|
||||
// Push into reverse post order so that we can pop from the back and get
|
||||
// post order.
|
||||
for (SILBasicBlock *B : PO->getReversePostOrder()) {
|
||||
|
||||
Reference in New Issue
Block a user