Skip to content

Commit 219e7de

Browse files
committed
clang-format
1 parent 8bafeb4 commit 219e7de

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

llvm/lib/Transforms/Scalar/SimplifyCFGPass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,7 @@ static bool tailMergeBlocksWithSimilarFunctionTerminators(Function &F,
194194
// Calls to experimental_deoptimize must be followed by a return
195195
// of the value computed by experimental_deoptimize.
196196
// I.e., we can not change `ret` to `br` for this block.
197-
if (auto *CI =
198-
dyn_cast_or_null<CallInst>(Term->getPrevNode())) {
197+
if (auto *CI = dyn_cast_or_null<CallInst>(Term->getPrevNode())) {
199198
if (Function *F = CI->getCalledFunction())
200199
if (Intrinsic::ID ID = F->getIntrinsicID())
201200
if (ID == Intrinsic::experimental_deoptimize)

llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2736,8 +2736,8 @@ TEST_P(OpenMPIRBuilderTestWithParams, DynamicWorkShareLoop) {
27362736
EXPECT_EQ(OrigUpperBound->getValue(), 21);
27372737
EXPECT_EQ(OrigStride->getValue(), 1);
27382738

2739-
CallInst *FiniCall = dyn_cast<CallInst>(
2740-
&*(LatchBlock->getTerminator()->getPrevNode()));
2739+
CallInst *FiniCall =
2740+
dyn_cast<CallInst>(&*(LatchBlock->getTerminator()->getPrevNode()));
27412741
EXPECT_EQ(FiniCall, nullptr);
27422742

27432743
// The original loop iterator should only be used in the condition, in the
@@ -2840,8 +2840,8 @@ TEST_F(OpenMPIRBuilderTest, DynamicWorkShareLoopOrdered) {
28402840
EXPECT_EQ(SchedVal->getValue(),
28412841
static_cast<uint64_t>(OMPScheduleType::OrderedStaticChunked));
28422842

2843-
CallInst *FiniCall = dyn_cast<CallInst>(
2844-
&*(LatchBlock->getTerminator()->getPrevNode()));
2843+
CallInst *FiniCall =
2844+
dyn_cast<CallInst>(&*(LatchBlock->getTerminator()->getPrevNode()));
28452845
ASSERT_NE(FiniCall, nullptr);
28462846
EXPECT_EQ(FiniCall->getCalledFunction()->getName(),
28472847
"__kmpc_dispatch_fini_4u");

0 commit comments

Comments
 (0)