| 1 |
RUN: llvm-remarkutil size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/2-identical-func-1-instr-1-stack.yaml --parser=yaml | FileCheck -strict-whitespace %s --check-prefix=ADD |
| 2 |
RUN: llvm-remarkutil size-diff %p/Inputs/2-identical-func-1-instr-1-stack.yaml %p/Inputs/1-func-1-instr-1-stack.yaml --parser=yaml | FileCheck -strict-whitespace %s --check-prefix=REMOVE |
| 3 |
|
| 4 |
; The "two-identical-one-instr-funcs" file contains a single-instruction |
| 5 |
; function which does not appear in the other file. |
| 6 |
|
| 7 |
; ADD: ++ > func1, 1 instrs, 1 stack B |
| 8 |
; ADD-DAG: instruction count: 1 (100.00%) |
| 9 |
; ADD-DAG: stack byte usage: 1 (100.00%) |
| 10 |
|
| 11 |
; REMOVE: -- < func1, -1 instrs, -1 stack B |
| 12 |
; REMOVE-DAG: instruction count: -1 (-50.00%) |
| 13 |
; REMOVE-DAG: stack byte usage: -1 (-50.00%) |