llvm.org GIT mirror llvm / 747b78d
Add global variable to test for consistency git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57597 91177308-0d34-0410-b5e6-96231b3b80d8 Anton Korobeynikov 11 years ago
2 changed file(s) with 4 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
88
99 @sched_clock = alias i64 ()* @native_sched_clock
1010
11 @foo = alias i32* @realfoo
12 @realfoo = global i32 0
13
1114 define i64 @native_sched_clock() nounwind {
1215 entry:
1316 ret i64 0
33 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32"
44 target triple = "i386-pc-linux-gnu"
55
6 @foo = weak global i32 2
67
78 define i64 @sched_clock_cpu(i32 inreg %cpu) nounwind {
89 entry: