[X86] combineLoad - allow constant loads to share matching 'lower constant bits'...
[llvm-project.git] / bolt / test / yaml-profile-kind.c
blob3bf2a2619f01f4240e97b84e83862da88f892a7b
1 /* This test checks the handling of YAML profile with different block orders.
2 # RUN: %clang %cflags %s -o %t.exe
3 # RUN: link_fdata %s %t.exe %t.fdata
4 # RUN: llvm-bolt %t.exe -o %t.null -data %t.fdata -w %t.yaml
5 # RUN: FileCheck %s --input-file %t.yaml --check-prefix=CHECK-BINARY
6 # CHECK-BINARY: dfs-order: false
7 # RUN: llvm-bolt %t.exe -o %t.null -data %t.fdata -w %t.yaml --profile-use-dfs
8 # RUN: FileCheck %s --input-file %t.yaml --check-prefix=CHECK-DFS
9 # CHECK-DFS: dfs-order: true
11 # FDATA: 0 [unknown] 0 1 main 0 0 0
13 int main() { return 0; }