We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf0357a commit 7d17684Copy full SHA for 7d17684
llvm/lib/Transforms/Utils/CodeExtractor.cpp
@@ -857,8 +857,8 @@ Function *CodeExtractor::constructFunction(const ValueSet &inputs,
857
(ParamTy.size() + AggParamTy.size()) ==
858
(inputs.size() + outputs.size()) &&
859
"Number of scalar and aggregate params does not match inputs, outputs");
860
- assert(StructValues.empty() ||
861
- AggregateArgs && "Expeced StructValues only with AggregateArgs set");
+ assert((StructValues.empty() || AggregateArgs) &&
+ "Expeced StructValues only with AggregateArgs set");
862
863
// Concatenate scalar and aggregate params in ParamTy.
864
size_t NumScalarParams = ParamTy.size();
0 commit comments