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 15ede6a commit a84fd74Copy full SHA for a84fd74
flang/lib/Optimizer/HLFIR/Transforms/SimplifyHLFIRIntrinsics.cpp
@@ -350,7 +350,8 @@ class CShiftAsElementalConversion
350
mlir::Location loc = cshift.getLoc();
351
fir::FirOpBuilder builder{rewriter, cshift.getOperation()};
352
hlfir::ExprType expr = mlir::dyn_cast<hlfir::ExprType>(cshift.getType());
353
- assert(expr && "expected an expression type for the result of hlfir.sum");
+ assert(expr &&
354
+ "expected an expression type for the result of hlfir.cshift");
355
mlir::Type elementType = expr.getElementType();
356
hlfir::Entity array = hlfir::Entity{cshift.getArray()};
357
mlir::Value arrayShape = hlfir::genShape(loc, builder, array);
0 commit comments