Skip to content

Commit 7b3b270

Browse files
petechouigcbot
authored andcommitted
A minor tuning of BitSet use in LoopAnalysis.
1 parent 5eacf9f commit 7b3b270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

visa/LoopAnalysis.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ void Dominator::runDOM()
193193
if (bb == entryBB)
194194
continue;
195195

196-
oldBS = domsBS[bb->getId()];
196+
oldBS.swap(domsBS[bb->getId()]);
197197

198198
domsBS[bb->getId()].setAll();
199199
// Dominators[BB] = Intersection(Dominators[All Pred BBs]) + BB

0 commit comments

Comments
 (0)