[LV] Add test showing debug output for loops with uncountable BTCs.
[llvm-project.git] / bolt / test / RISCV / load-store.s
blob052c5a3879a449f809cd8633221739c5a82f4a05
1 // RUN: %clang %cflags -o %t %s
2 // RUN: link_fdata --no-lbr %s %t %t.fdata
3 // RUN: llvm-bolt %t -o %t.null --data=%t.fdata --dyno-stats | FileCheck %s
5 // CHECK: BOLT-INFO: program-wide dynostats after all optimizations before SCTC and FOP (no change):
6 // CHECK: 3000 : executed instructions
7 // CHECK: 1000 : executed load instructions
8 // CHECK: 1000 : executed store instructions
10 .globl _start
11 _start:
12 # FDATA: 1 _start #_start# 1
13 ld t0, (gp)
14 sd t0, (gp)
15 ret
16 .size _start, .-_start