Skip to content

Commit

Permalink
[fir] Fixup comment. NFC
Browse files Browse the repository at this point in the history
Fixed comment as requested in https://reviews.llvm.org/D113560.
  • Loading branch information
rovka committed Nov 10, 2021
1 parent a343b74 commit 81c99c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flang/lib/Optimizer/CodeGen/TypeConverter.h
Expand Up @@ -156,7 +156,8 @@ class LLVMTypeConverter : public mlir::LLVMTypeConverter {
return kindMapping.getCharacterBitsize(charTy.getFKind());
}

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

0 comments on commit 81c99c5

Please sign in to comment.