Skip to content

Commit 8892271

Browse files
kychendevigcbot
authored andcommitted
Add optimization to remove redundant label
Add additional CFG optimization to remove redundant label.
1 parent a9ee464 commit 8892271

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

visa/FlowGraph.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,6 +848,7 @@ void FlowGraph::constructFlowGraph(INST_LIST &instlist) {
848848

849849
setPhysicalPredSucc();
850850
removeUnreachableBlocks(funcInfoHashTable);
851+
removeRedundantLabels();
851852

852853
pKernel->dumpToFile("after.RemoveUnreachableBlocks");
853854

0 commit comments

Comments
 (0)