diff options
author | Uday Bondhugula <uday@polymagelabs.com> | 2022-09-03 11:26:29 +0530 |
---|---|---|
committer | Uday Bondhugula <uday@polymagelabs.com> | 2022-09-08 13:47:48 +0530 |
commit | 047c7aa96dadf8a2c71a29e2df610d628d9e7e3e (patch) | |
tree | b78d100d9ff7859bbde3a20c182b6a32554e922b /llvm/lib/Object/MachOObjectFile.cpp | |
parent | 273b3350d2700b7f2a4e367594bb4ba12e0b8e8e (diff) | |
download | llvm-047c7aa96dadf8a2c71a29e2df610d628d9e7e3e.zip llvm-047c7aa96dadf8a2c71a29e2df610d628d9e7e3e.tar.gz llvm-047c7aa96dadf8a2c71a29e2df610d628d9e7e3e.tar.bz2 |
Improve diagnostic when emitting operations with regions
This has a broad impact on diagnostics that attach an operation. Ops
with one or more regions will now be printed on a new line. It was
confusing and hard to read with a trailing first line for ops
with regions.
Before:
```
<unknown>:0: note: see current operation: affine.for %arg3 = 0 to 8192 {
affine.for %arg4 = 0 to 8192 step 512 {
affine.for %arg5 = 0 to 8192 step 128 {
...
```
After:
```
<unknown>:0: note: see current operation:
affine.for %arg3 = 0 to 8192 {
affine.for %arg4 = 0 to 8192 step 512 {
affine.for %arg5 = 0 to 8192 step 128 {
...
```
Differential Revision: https://reviews.llvm.org/D132645
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions