File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
llvm/lib/Transforms/Instrumentation Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ PreservedAnalyses RealtimeSanitizerPass::run(Function &F,
7474 const LoopInfo &LI = AM.getResult <LoopAnalysis>(F);
7575 ScalarEvolution &SE = AM.getResult <ScalarEvolutionAnalysis>(F);
7676 for (Loop *L : LI) {
77- BasicBlock *Context =
78- L->getLoopPreheader () ? L->getLoopPreheader () : L->getHeader ();
79- assert (Context && " Loop has no preheader or header block" );
77+ BasicBlock *Context =
78+ L->getLoopPreheader () ? L->getLoopPreheader () : L->getHeader ();
79+ assert (Context && " Loop has no preheader or header block" );
8080
8181 const bool HasNoExits = L->hasNoExitBlocks ();
8282 const bool CannotPredictLoopCount =
@@ -87,9 +87,8 @@ PreservedAnalyses RealtimeSanitizerPass::run(Function &F,
8787 if (LoopIsPotentiallyUnbound) {
8888 IRBuilder<> Builder{&Context->back ()};
8989
90-
91- std::string ReasonStr =
92- demangle (F.getName ().str ()) + " contains a possibly unbounded loop " ;
90+ std::string ReasonStr =
91+ demangle (F.getName ().str ()) + " contains a possibly unbounded loop " ;
9392
9493 if (HasNoExits)
9594 ReasonStr += " (reason: no exit blocks)." ;
You can’t perform that action at this time.
0 commit comments