mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
e1cb0bd2ab
Because screen space is precious, if an optimization (vectorization, for example) never happens, don't leave empty space for the associated markers on every line of the output. This makes the output much more compact, and allows for the later inclusion of markers for more (although perhaps rare) optimizations. llvm-svn: 283626
15 lines
454 B
Plaintext
15 lines
454 B
Plaintext
RUN: llvm-opt-report -r %p %p/Inputs/unrl.yaml | FileCheck -strict-whitespace %s
|
|
|
|
; CHECK: < {{.*[/\]}}unrl.c
|
|
; CHECK-NEXT: 1 | void bar();
|
|
; CHECK-NEXT: 2 |
|
|
; CHECK-NEXT: 3 | void foo() {
|
|
; CHECK-NEXT: 4 U5 | for (int i = 0; i < 5; ++i)
|
|
; CHECK-NEXT: 5 | bar();
|
|
; CHECK-NEXT: 6 |
|
|
; CHECK-NEXT: 7 U11 | for (int i = 0; i < 11; ++i)
|
|
; CHECK-NEXT: 8 | bar();
|
|
; CHECK-NEXT: 9 | }
|
|
; CHECK-NEXT: 10 |
|
|
|