llvm / clangir

A new (MLIR based) high-level IR for clang.
https://clangir.org
Other
312 stars 86 forks source link

[CIR][IR] Fix FuncOp duplicate attr printing #609

Closed sitio-couto closed 1 month ago

sitio-couto commented 2 months ago

This patch ensures that only the pretty-print version of function param and result attributes is printed. The tailing dictionary attributes are no longer printed.

It also ensures some FuncOp tests are properly validating both parsing and printing.