blob: a45cbe9c0f6fcff26aa5935fea813212dbc2e6a8 [file] [log] [blame]
Chris Lattnere07d77d2010-01-07 01:16:21 +00001; RUN: opt -globalopt -disable-output %s
2target 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:128:128-n8:16:32"
3target triple = "i386-apple-darwin9.8"
4
5%0 = type { i32, void ()* }
6%struct.btSimdScalar = type { %"union.btSimdScalar::$_14" }
7%"union.btSimdScalar::$_14" = type { <4 x float> }
8
9@_ZL6vTwist = global %struct.btSimdScalar zeroinitializer ; <%struct.btSimdScalar*> [#uses=1]
10@llvm.global_ctors = appending global [1 x %0] [%0 { i32 65535, void ()* @_GLOBAL__I__ZN21btConeTwistConstraintC2Ev }] ; <[12 x %0]*> [#uses=0]
11
12define internal void @_GLOBAL__I__ZN21btConeTwistConstraintC2Ev() nounwind section "__TEXT,__StaticInit,regular,pure_instructions" {
13entry:
14 store float 1.0, float* getelementptr inbounds (%struct.btSimdScalar* @_ZL6vTwist, i32 0, i32 0, i32 0, i32 3), align 4
15 ret void
16}