Skip to content

Commit 7d17684

Browse files
committed
[CodeExtractor] Fix warning in assert (NFC)
1 parent cf0357a commit 7d17684

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Utils/CodeExtractor.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,8 +857,8 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
857857
(ParamTy.size() + AggParamTy.size()) ==
858858
(inputs.size() + outputs.size()) &&
859859
"Number of scalar and aggregate params does not match inputs, outputs");
860-
assert(StructValues.empty() ||
861-
AggregateArgs && "Expeced StructValues only with AggregateArgs set");
860+
assert((StructValues.empty() || AggregateArgs) &&
861+
"Expeced StructValues only with AggregateArgs set");
862862

863863
// Concatenate scalar and aggregate params in ParamTy.
864864
size_t NumScalarParams = ParamTy.size();

0 commit comments

Comments
 (0)