Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-remarkutil / convert.test
blob83023c8ce6a891c6e3483c1fc7404d3acf656ece
1 RUN: llvm-remarkutil bitstream2yaml %p/Inputs/two-remarks.bitstream -o - | FileCheck %s -strict-whitespace
2 RUN: llvm-remarkutil yaml2bitstream %p/Inputs/two-remarks.yaml -o %t
3 RUN: llvm-remarkutil bitstream2yaml %t -o - | FileCheck %s -strict-whitespace
5 ; CHECK: --- !Analysis
6 ; CHECK-NEXT: Pass:            prologepilog
7 ; CHECK-NEXT: Name:            StackSize
8 ; CHECK-NEXT: Function:        func0
9 ; CHECK-NEXT: Args:
10 ; CHECK-NEXT:   - NumStackBytes:   '1'
11 ; CHECK-NEXT:   - String:          ' stack bytes in function'
12 ; CHECK-NEXT: ...
13 ; CHECK-NEXT: --- !Analysis
14 ; CHECK-NEXT: Pass:            asm-printer
15 ; CHECK-NEXT: Name:            InstructionCount
16 ; CHECK-NEXT: Function:        func0
17 ; CHECK-NEXT: Args:
18 ; CHECK-NEXT:   - NumInstructions: '1'
19 ; CHECK-NEXT:   - String:          ' instructions in function'
20 ; CHECK-NEXT: ...