[clang] [CIR] Start printing/parsing func 'attributes' (PR #169674)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 26 08:24:49 PST 2025


erichkeane wrote:

Hi all!  I saw that func.func and a few others all do similar printing here, so it made sense to me that we print them too.  I have an attribute for OpenACC that needs this, and isn't worth adding as a normal 'markup' (because it would also  involve #including' OpenACC MLIR headers everywhere, and also, its a rare situation).

I know this is a significant change in direction, and assume attributes were omitted this way for some reason in the past, so I'd like @bcardosolopes in particular to take a look at this.


https://github.com/llvm/llvm-project/pull/169674


More information about the cfe-commits mailing list