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 1e6ce5e commit 119b9cdCopy full SHA for 119b9cd
flang/lib/Lower/OpenMP/ReductionProcessor.h
@@ -151,9 +151,8 @@ mlir::Value
151
ReductionProcessor::getReductionOperation(fir::FirOpBuilder &builder,
152
mlir::Type type, mlir::Location loc,
153
mlir::Value op1, mlir::Value op2) {
154
- assert(type.isIntOrIndexOrFloat() ||
155
- fir::isa_complex(type) &&
156
- "only integer, float and complex types are currently supported");
+ assert((type.isIntOrIndexOrFloat() || fir::isa_complex(type)) &&
+ "only integer, float and complex types are currently supported");
157
if (type.isIntOrIndex())
158
return builder.create<IntegerOp>(loc, op1, op2);
159
if (fir::isa_real(type))
0 commit comments