brintos

brintos / llvm-project-archived public Read only

0
0
Text · 757 B · 04074a5 Raw
14 lines · plain
1RUN: 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=ADD2RUN: 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=REMOVE3 4; The "two-identical-one-instr-funcs" file contains a single-instruction5; function which does not appear in the other file.6 7; ADD: ++ > func1, 1 instrs, 1 stack B8; ADD-DAG: instruction count: 1 (100.00%)9; ADD-DAG: stack byte usage: 1 (100.00%)10 11; REMOVE: -- < func1, -1 instrs, -1 stack B12; REMOVE-DAG: instruction count: -1 (-50.00%)13; REMOVE-DAG: stack byte usage: -1 (-50.00%)14