Skip to content

Commit a341315

Browse files
committed
Fix formatting.
1 parent 6677b2f commit a341315

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

llvm/lib/Transforms/HipStdPar/HipStdPar.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)