[RISCV][VLOPT] Add vector narrowing integer right shift instructions to isSupportedIn...
[llvm-project.git] / llvm / test / tools / llvm-remarkutil / size-diff / json-add-remove-func.test
bloba0baccdd033fe08634afe24aeef1fab08213b8ec
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 --report_style=json --pretty | 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 --report_style=json --pretty | FileCheck -strict-whitespace %s --check-prefix=REMOVE
4 ; The "two-identical-one-instr-funcs" file contains a single-instruction
5 ; function which does not appear in the other file.
7 ; ADD-LABEL: "Files":
8 ; ADD: "A":{{.*}}1-func-1-instr-1-stack.yaml
9 ; ADD-NEXT: "B":{{.*}}2-identical-func-1-instr-1-stack.yaml
11 ; ADD-LABEL: "InBoth": [
12 ; ADD: "FunctionName": "func0",
13 ; ADD-NEXT: "InstCount": [
14 ; ADD-NEXT: 1,
15 ; ADD-NEXT: 1
16 ; ADD-NEXT: ],
17 ; ADD-NEXT: "StackSize": [
18 ; ADD-NEXT: 1,
19 ; ADD-NEXT: 1
21 ; ADD-LABEL: "OnlyInA": [],
23 ; ADD-LABEL: "OnlyInB": [
24 ; ADD: "FunctionName": "func1",
25 ; ADD-NEXT: "InstCount": [
26 ; ADD-NEXT: 0,
27 ; ADD-NEXT: 1
28 ; ADD-NEXT: ],
29 ; ADD-NEXT: "StackSize": [
30 ; ADD-NEXT: 0,
31 ; ADD-NEXT: 1
33 ; REMOVE-LABEL: "Files":
34 ; REMOVE: "A":{{.*}}2-identical-func-1-instr-1-stack.yaml
35 ; REMOVE-NEXT: "B":{{.*}}1-func-1-instr-1-stack.yaml
37 ; REMOVE-LABEL: "InBoth": [
38 ; REMOVE: "FunctionName": "func0",
39 ; REMOVE-NEXT: "InstCount": [
40 ; REMOVE-NEXT: 1,
41 ; REMOVE-NEXT: 1
42 ; REMOVE-NEXT: ],
43 ; REMOVE-NEXT: "StackSize": [
44 ; REMOVE-NEXT: 1,
45 ; REMOVE-NEXT: 1
47 ; REMOVE-LABEL: "OnlyInA": [
48 ; REMOVE: "FunctionName": "func1",
49 ; REMOVE-NEXT: "InstCount": [
50 ; REMOVE-NEXT: 1,
51 ; REMOVE-NEXT: 0
52 ; REMOVE-NEXT: ],
53 ; REMOVE-NEXT: "StackSize": [
54 ; REMOVE-NEXT: 1,
55 ; REMOVE-NEXT: 0
57 ; REMOVE-LABEL: "OnlyInB": []