Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / bolt / test / RISCV / load-store.s
blob5a9785571c808118b87109c87e4facfa88bafaf7
1 // RUN: %clang %cflags -o %t %s
2 // RUN: link_fdata --no-lbr %s %t %t.fdata
3 // RUN: llvm-bolt %t -o /dev/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