Skip to content

Commit 81c99c5

Browse files
committed
[fir] Fixup comment. NFC
Fixed comment as requested in https://reviews.llvm.org/D113560.
1 parent a343b74 commit 81c99c5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

flang/lib/Optimizer/CodeGen/TypeConverter.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ class LLVMTypeConverter : public mlir::LLVMTypeConverter {
156156
return kindMapping.getCharacterBitsize(charTy.getFKind());
157157
}
158158

159-
// fir.char<n> --> llvm<"ix*"> where ix is scaled by kind mapping
159+
// fir.char<k,?> --> llvm<"ix"> where ix is scaled by kind mapping
160+
// fir.char<k,n> --> llvm.array<n x "ix">
160161
mlir::Type convertCharType(fir::CharacterType charTy) {
161162
auto iTy = mlir::IntegerType::get(&getContext(), characterBitsize(charTy));
162163
if (charTy.getLen() == fir::CharacterType::unknownLen())

0 commit comments

Comments
 (0)