Skip to content

Commit a1c2238

Browse files
committed
clang-format
1 parent 83ba9d5 commit a1c2238

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3426,7 +3426,8 @@ void FunctionStackPoisoner::processStaticAllocas() {
34263426
ArgInitInst->moveBefore(InsBefore->getIterator());
34273427

34283428
// If we have a call to llvm.localescape, keep it in the entry block.
3429-
if (LocalEscapeCall) LocalEscapeCall->moveBefore(InsBefore->getIterator());
3429+
if (LocalEscapeCall)
3430+
LocalEscapeCall->moveBefore(InsBefore->getIterator());
34303431

34313432
SmallVector<ASanStackVariableDescription, 16> SVD;
34323433
SVD.reserve(AllocaVec.size());

llvm/lib/Transforms/Scalar/CallSiteSplitting.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ static bool canSplitCallSite(CallBase &CB, TargetTransformInfo &TTI) {
218218
return true;
219219
}
220220

221-
static Instruction *cloneInstForMustTail(Instruction *I, BasicBlock::iterator Before,
222-
Value *V) {
221+
static Instruction *
222+
cloneInstForMustTail(Instruction *I, BasicBlock::iterator Before, Value *V) {
223223
Instruction *Copy = I->clone();
224224
Copy->setName(I->getName());
225225
Copy->insertBefore(Before);

llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2499,8 +2499,9 @@ static void rematerializeLiveValuesAtUses(
24992499
// statepoint between uses in the block.
25002500
while (!Cand->user_empty()) {
25012501
Instruction *UserI = cast<Instruction>(*Cand->user_begin());
2502-
Instruction *RematChain = rematerializeChain(
2503-
Record.ChainToBase, UserI->getIterator(), Record.RootOfChain, PointerToBase[Cand]);
2502+
Instruction *RematChain =
2503+
rematerializeChain(Record.ChainToBase, UserI->getIterator(),
2504+
Record.RootOfChain, PointerToBase[Cand]);
25042505
UserI->replaceUsesOfWith(Cand, RematChain);
25052506
PointerToBase[RematChain] = PointerToBase[Cand];
25062507
}

llvm/lib/Transforms/Utils/LoopUnrollAndJam.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,8 @@ llvm::UnrollAndJamLoop(Loop *L, unsigned Count, unsigned TripCount,
329329

330330
// Move any instructions from fore phi operands from AftBlocks into Fore.
331331
moveHeaderPhiOperandsToForeBlocks(
332-
Header, LatchBlock, ForeBlocksLast[0]->getTerminator()->getIterator(), AftBlocks);
332+
Header, LatchBlock, ForeBlocksLast[0]->getTerminator()->getIterator(),
333+
AftBlocks);
333334

334335
// The current on-the-fly SSA update requires blocks to be processed in
335336
// reverse postorder so that LastValueMap contains the correct value at each

llvm/lib/Transforms/Utils/SimplifyCFG.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5297,8 +5297,8 @@ bool SimplifyCFGOpt::simplifyCommonResume(ResumeInst *RI) {
52975297

52985298
// Check that there are no other instructions except for debug and lifetime
52995299
// intrinsics between the phi's and resume instruction.
5300-
if (!isCleanupBlockEmpty(
5301-
make_range(RI->getParent()->getFirstNonPHIIt(), BB->getTerminator()->getIterator())))
5300+
if (!isCleanupBlockEmpty(make_range(RI->getParent()->getFirstNonPHIIt(),
5301+
BB->getTerminator()->getIterator())))
53025302
return false;
53035303

53045304
SmallSetVector<BasicBlock *, 4> TrivialUnwindBlocks;

0 commit comments

Comments
 (0)