Home | History | Annotate | Download | only in X86
      1 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | not grep GOTPCREL
      2 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | grep ".align.*3"
      3 
      4 	%struct.A = type { [1024 x i8] }
      5 @_ZN1A1aE = global %struct.A zeroinitializer, align 32		; <%struct.A*> [#uses=1]
      6 @llvm.global_ctors = appending global [1 x { i32, void ()* }] [ { i32, void ()* } { i32 65535, void ()* @_GLOBAL__I__ZN1A1aE } ]		; <[1 x { i32, void ()* }]*> [#uses=0]
      7 
      8 define internal void @_GLOBAL__I__ZN1A1aE() section "__TEXT,__StaticInit,regular,pure_instructions" {
      9 entry:
     10 	br label %bb.i
     11 
     12 bb.i:		; preds = %bb.i, %entry
     13 	%i.1.i1.0 = phi i32 [ 0, %entry ], [ %indvar.next, %bb.i ]		; <i32> [#uses=2]
     14 	%tmp1012.i = sext i32 %i.1.i1.0 to i64		; <i64> [#uses=1]
     15 	%tmp13.i = getelementptr %struct.A* @_ZN1A1aE, i32 0, i32 0, i64 %tmp1012.i		; <i8*> [#uses=1]
     16 	store i8 0, i8* %tmp13.i
     17 	%indvar.next = add i32 %i.1.i1.0, 1		; <i32> [#uses=2]
     18 	%exitcond = icmp eq i32 %indvar.next, 1024		; <i1> [#uses=1]
     19 	br i1 %exitcond, label %_Z41__static_initialization_and_destruction_0ii.exit, label %bb.i
     20 
     21 _Z41__static_initialization_and_destruction_0ii.exit:		; preds = %bb.i
     22 	ret void
     23 }
     24 
     25 define i32 @main(i32 %argc, i8** %argv) {
     26 entry:
     27 	ret i32 0
     28 }
     29