llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Named struct types (separate body from name)

Open ekatz opened this issue 6 years ago • 3 comments

Bugzilla Link 45494
Resolution FIXED
Resolved on Dec 15, 2020 00:53
Version unspecified
OS All
CC @ekatz,@jpienaar,@River707,@ftynse

Extended Description

In the more general case, we need to support Printing a type (especially complex ones) in the beginning of the mlir file, while using its name in all other places where it is used.

This is Printer/Parser issue/enhancement.

This has already been discussed in https://github.com/tensorflow/mlir/pull/209 .

ekatz avatar Apr 10 '20 09:04 ekatz

It is supported by LLVM dialect types since https://llvm.discourse.group/t/rfc-first-party-support-for-llvm-types/1295 was implemented.

ftynse avatar Dec 15 '20 08:12 ftynse

River/Alex: what's the status on this? I kind of remember we addressed it in the LLVM dialect somehow?

joker-eph avatar Dec 14 '20 23:12 joker-eph

assigned to @River707

ekatz avatar Apr 10 '20 09:04 ekatz