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 3b40541 commit b3bf1dbCopy full SHA for b3bf1db
flang/lib/Optimizer/Transforms/DebugTypeGenerator.cpp
@@ -123,6 +123,8 @@ mlir::LLVM::DITypeAttr DebugTypeGenerator::convertBoxedSequenceType(
123
mlir::Attribute lowerAttr = nullptr;
124
// If declaration has a lower bound, use it.
125
if (declOp && declOp.getShift().size() > index) {
126
+ // TODO: Handle case where lower bound is a variable (instead of a
127
+ // constant as handled here)
128
if (std::optional<std::int64_t> optint =
129
getIntIfConstant(declOp.getShift()[index]))
130
lowerAttr = mlir::IntegerAttr::get(intTy, llvm::APInt(64, *optint));
0 commit comments