Skip to content

Commit 6047381

Browse files
bgajdaINTCigcbot
authored andcommitted
Remove incorrect setPreservesCFG.
Remove incorrect setPreservesCFG.
1 parent 6f5cbf0 commit 6047381

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

IGC/Compiler/CISACodeGen/ResourceLoopUnroll.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,6 @@ bool ResourceLoopUnroll::ProcessFunction(llvm::Function& F)
349349
////////////////////////////////////////////////////////////////////////
350350
void ResourceLoopUnroll::getAnalysisUsage(llvm::AnalysisUsage& AU) const
351351
{
352-
//AU.setPreservesCFG(); //we modify cfg
353352
AU.addRequired<CodeGenContextWrapper>();
354353
AU.addRequired<WIAnalysis>();
355354
}

IGC/Compiler/Optimizer/BarrierControlFlowOptimization.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,6 @@ bool BarrierControlFlowOptimization::ProcessFunction()
382382
////////////////////////////////////////////////////////////////////////
383383
void BarrierControlFlowOptimization::getAnalysisUsage(llvm::AnalysisUsage& AU) const
384384
{
385-
AU.setPreservesCFG();
386385
AU.addRequired<CodeGenContextWrapper>();
387386
}
388387

0 commit comments

Comments
 (0)