llvm-project
b387674b - [flang][PPC] Improve vector type names in expression diagnostics (NFC) (#197821)

Commit
10 days ago
[flang][PPC] Improve vector type names in expression diagnostics (NFC) (#197821) Improve Flang semantic diagnostics for vector types by printing vector type spellings in Fortran syntax instead of internal builtin-derived type names. Use `DerivedTypeSpec::VectorTypeAsFortran()` when producing vector operand type names in `ArgumentAnalyzer::TypeAsFortran()`, instead of relying on the generic type formatting path. This updates diagnostics to print vector types as Fortran source-like spellings, such as: - `vector(integer(4))` - `vector(real(4))` while preserving the existing formatting for non-vector derived types.
Author
Parents
Loading