diff options
author | Mogball <jeffniu22@gmail.com> | 2022-01-18 07:47:25 +0000 |
---|---|---|
committer | Mogball <jeffniu22@gmail.com> | 2022-01-18 16:52:34 +0000 |
commit | 5c36ee8d57fa702d8dc4ee9349978bff575a9465 (patch) | |
tree | 375916c71f8d590c693149ca5498bb8385077c82 /llvm/lib/Object/ArchiveWriter.cpp | |
parent | 53a51acc361a6b20b23b032226b0a7b124465cf7 (diff) | |
download | llvm-5c36ee8d57fa702d8dc4ee9349978bff575a9465.zip llvm-5c36ee8d57fa702d8dc4ee9349978bff575a9465.tar.gz llvm-5c36ee8d57fa702d8dc4ee9349978bff575a9465.tar.bz2 |
[mlir] Drop the leading space when printing regions
The leading space that is always printed at the beginning of regions is not consistent with other parts of the printing API. Moreover, this leading space can lead to undesirable assembly formats:
```
attr-dict-with-keyword $region
```
Prints as:
```
// Two spaces between `}` and `{`
attributes {foo} { ... }
```
Moreover, the leading space results in the odd generic op format:
```
"test.op"() ( {...}) : () -> ()
```
Reviewed By: rriddle, mehdi_amini
Differential Revision: https://reviews.llvm.org/D117411
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions