File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
llvm/lib/Transforms/HipStdPar Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -390,8 +390,8 @@ PreservedAnalyses HipStdParMathFixupPass::run(Module &M,
390390
391391 switch (ID) {
392392 case Intrinsic::not_intrinsic: {
393- auto It = find_if (MathLibToHipStdPar,
394- [&](auto &&M) { return M.first == N; });
393+ auto It =
394+ find_if (MathLibToHipStdPar, [&](auto &&M) { return M.first == N; });
395395 if (It == std::cend (MathLibToHipStdPar))
396396 continue ;
397397 ToReplace.emplace_back (&F, It->second );
@@ -433,8 +433,9 @@ PreservedAnalyses HipStdParMathFixupPass::run(Module &M,
433433 ToReplace.emplace_back (&F, std::move (N));
434434 }
435435 for (auto &&F : ToReplace)
436- F.first ->replaceAllUsesWith (M.getOrInsertFunction (
437- F.second , F.first ->getFunctionType ()).getCallee ());
436+ F.first ->replaceAllUsesWith (
437+ M.getOrInsertFunction (F.second , F.first ->getFunctionType ())
438+ .getCallee ());
438439
439440 return PreservedAnalyses::none ();
440441}
You can’t perform that action at this time.
0 commit comments