• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llvm-as < %s | llvm-dis > %t1.ll
2; RUN: FileCheck %s < %t1.ll
3; RUN: llvm-as < %t1.ll | llvm-dis > %t2.ll
4; RUN: diff %t1.ll %t2.ll
5; RUN: opt -O3 -S < %t1.ll | FileCheck %s
6
7; CHECK: @i
8@i = linkonce_odr global i32 1
9
10; CHECK: f(){{.*}}prologue i32 1
11define void @f() prologue i32 1 {
12  ret void
13}
14
15; CHECK: g(){{.*}}prologue i32* @i
16define void @g() prologue i32* @i {
17  ret void
18}
19