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 a343b74 commit 81c99c5Copy full SHA for 81c99c5
flang/lib/Optimizer/CodeGen/TypeConverter.h
@@ -156,7 +156,8 @@ class LLVMTypeConverter : public mlir::LLVMTypeConverter {
156
return kindMapping.getCharacterBitsize(charTy.getFKind());
157
}
158
159
- // fir.char<n> --> llvm<"ix*"> where ix is scaled by kind mapping
+ // fir.char<k,?> --> llvm<"ix"> where ix is scaled by kind mapping
160
+ // fir.char<k,n> --> llvm.array<n x "ix">
161
mlir::Type convertCharType(fir::CharacterType charTy) {
162
auto iTy = mlir::IntegerType::get(&getContext(), characterBitsize(charTy));
163
if (charTy.getLen() == fir::CharacterType::unknownLen())
0 commit comments