1 # This test case is used to reproduce an issue found in the mongod database.
2 # In function rankRegisters, if there is a BH Reg in the basic block, then the BL Reg
5 # REQUIRES: system-linux
7 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown %s -o %t.o
8 # RUN: link_fdata %s %t.o %t.fdata
9 # RUN: llvm-strip --strip-unneeded %t.o
10 # RUN: %clang -no-pie %t.o -o %t.exe -Wl,-q
11 # RUN: llvm-bolt %t.exe -o %t.out -data=%t.fdata --reg-reassign | FileCheck %s
14 # CHECK: Reg Reassignment Pass: no changes were made
20 .type main.cold,@function
32 .cfi_def_cfa_offset 16
53 # FDATA: 1 main.cold #bb2# 1 main 0 0 100
54 # FDATA: 1 main #bb3# 1 main #bb4# 0 100
55 # FDATA: 1 main #bb4# 1 main.cold 0 0 100
58 .size main, .Lfunc_end0-main