mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-10 22:43:46 +00:00
![Hal Finkel](/assets/img/avatar_default.png)
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283626 91177308-0d34-0410-b5e6-96231b3b80d8
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 |
|
|
|