[llvm] e60d6e9 - [llvm][NFC] Fix assert indentation
Timm Bäder via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 23 05:44:58 PDT 2021
Author: Timm Bäder
Date: 2021-04-23T14:44:05+02:00
New Revision: e60d6e91e196d91a1b9bfcc93d9f43946ea29299
URL: https://github.com/llvm/llvm-project/commit/e60d6e91e196d91a1b9bfcc93d9f43946ea29299
DIFF: https://github.com/llvm/llvm-project/commit/e60d6e91e196d91a1b9bfcc93d9f43946ea29299.diff
LOG: [llvm][NFC] Fix assert indentation
This triggers GCC's misleading-indentation checker.
Added:
Modified:
llvm/lib/Transforms/Scalar/MergeICmps.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Scalar/MergeICmps.cpp b/llvm/lib/Transforms/Scalar/MergeICmps.cpp
index 3457e8e5d2ce..cafe6144c13f 100644
--- a/llvm/lib/Transforms/Scalar/MergeICmps.cpp
+++ b/llvm/lib/Transforms/Scalar/MergeICmps.cpp
@@ -277,8 +277,8 @@ void BCECmpBlock::split(BasicBlock *NewParent, AliasAnalysis &AA) const {
for (Instruction &Inst : *BB) {
if (BlockInsts.count(&Inst))
continue;
- assert(canSinkBCECmpInst(&Inst, BlockInsts, AA) &&
- "Split unsplittable block");
+ assert(canSinkBCECmpInst(&Inst, BlockInsts, AA) &&
+ "Split unsplittable block");
// This is a non-BCE-cmp-block instruction. And it can be separated
// from the BCE-cmp-block instruction.
OtherInsts.push_back(&Inst);
More information about the llvm-commits
mailing list