File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -281,8 +281,8 @@ class IR_Builder {
281
281
};
282
282
static const int MAX_POOL_SIZE =
283
283
8 ; // reg pressure control, for now just do naive first-come first-serve
284
- std::array<ImmVal, MAX_POOL_SIZE> immArray;
285
- std::array<G4_Declare *, MAX_POOL_SIZE> dclArray;
284
+ std::array<ImmVal, MAX_POOL_SIZE> immArray = {} ;
285
+ std::array<G4_Declare *, MAX_POOL_SIZE> dclArray = {} ;
286
286
int curSize = 0 ;
287
287
IR_Builder &builder;
288
288
Original file line number Diff line number Diff line change @@ -582,10 +582,6 @@ void FlowGraph::normalizeFlowGraph() {
582
582
for (BB_LIST_ITER it = BBs.begin (); it != BBs.end (); it++) {
583
583
G4_BB *bb = *it;
584
584
585
- if (bb->getBBType () & G4_BB_INIT_TYPE) {
586
- bb->getFuncInfo ();
587
- }
588
-
589
585
if (bb->isEndWithFCall ()) {
590
586
G4_BB *retBB = bb->Succs .front ();
591
587
if (retBB->Preds .size () > 1 ) {
You can’t perform that action at this time.
0 commit comments