[clangd] Fix warnings
[llvm-project.git] / llvm / test / tools / llvm-remarkutil / size-diff / increase-decrease-inst-count.test
blobcfa024cfba0583e5962605730bf7db458f393846
1 RUN: llvm-remarkutil size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/1-func-2-instr-2-stack.yaml --parser=yaml | FileCheck -strict-whitespace %s --check-prefix=INCREASE
2 RUN: llvm-remarkutil size-diff %p/Inputs/1-func-2-instr-2-stack.yaml %p/Inputs/1-func-1-instr-1-stack.yaml --parser=yaml | FileCheck -strict-whitespace %s --check-prefix=DECREASE
4 ; Test a size increase/decrease of one instruction + 1 stack byte.
6 ; INCREASE: == > func0, 1 instrs, 1 stack B
7 ; INCREASE-DAG: instruction count: 1 (100.00%)
8 ; INCREASE-NEXT: stack byte usage: 1 (100.00%)
10 ; DECREASE: == < func0, -1 instrs, -1 stack B
11 ; DECREASE-DAG: instruction count: -1 (-50.00%)
12 ; DECREASE-NEXT: stack byte usage: -1 (-50.00%)