Skip to content

Commit 2ff3cd7

Browse files
nit : testing func2vec without pragmas
1 parent 7821e0c commit 2ff3cd7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/FlowAware.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,6 @@ Vector IR2Vec_FA::func2Vec(Function &F) {
359359

360360
ReversePostOrderTraversal<Function *> RPOT(&F);
361361

362-
#pragma omp parallel for
363362
for (auto *b : RPOT) {
364363
for (auto &I : *b) {
365364
unsigned opnum;
@@ -372,8 +371,7 @@ Vector IR2Vec_FA::func2Vec(Function &F) {
372371
if (argI->getParent() == I.getParent())
373372
lists.push_back(argI);
374373

375-
#pragma omp critical
376-
{ killMap[&I] = lists; }
374+
killMap[&I] = lists;
377375
}
378376
}
379377
}

0 commit comments

Comments
 (0)