[flang-commits] [flang] [flang][debug] Always include (kind=X) suffix in debug type names (PR #186255)
Abid Qadeer via flang-commits
flang-commits at lists.llvm.org
Mon Mar 16 08:13:20 PDT 2026
================
@@ -686,9 +686,7 @@ static mlir::StringAttr getBasicTypeName(mlir::MLIRContext *context,
llvm::StringRef baseName,
unsigned bitSize) {
std::ostringstream oss;
- oss << baseName.str();
- if (bitSize != 32)
- oss << "(kind=" << (bitSize / 8) << ")";
+ oss << baseName.str() << "(kind=" << (bitSize / 8) << ")";
----------------
abidh wrote:
Yes for both.
https://github.com/llvm/llvm-project/pull/186255
More information about the flang-commits
mailing list