2016-08-04 02:17:35 +08:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-apple-darwin10 -relocation-model=pic -disable-fp-elim | FileCheck %s
|
2010-02-05 08:17:02 +08:00
|
|
|
; <rdar://problem/7604010>
|
|
|
|
|
2010-02-05 19:21:05 +08:00
|
|
|
%cmd.type = type { }
|
2010-02-05 08:17:02 +08:00
|
|
|
|
2010-02-05 19:21:05 +08:00
|
|
|
@_cmd = constant %cmd.type zeroinitializer
|
2010-02-05 08:17:02 +08:00
|
|
|
|
2010-02-05 19:21:05 +08:00
|
|
|
; CHECK: .globl __cmd
|
2016-01-26 08:03:25 +08:00
|
|
|
; CHECK-NEXT: .p2align 3
|
2010-02-05 19:21:05 +08:00
|
|
|
; CHECK-NEXT: __cmd:
|
2010-04-20 14:20:21 +08:00
|
|
|
; CHECK-NEXT: .byte 0
|
|
|
|
|
|
|
|
; PR6340
|
|
|
|
|
|
|
|
%Ty = type { i32, {}, i32 }
|
|
|
|
@k = global %Ty { i32 1, {} zeroinitializer, i32 3 }
|
|
|
|
|
|
|
|
; CHECK: _k:
|
|
|
|
; CHECK-NEXT: .long 1
|
|
|
|
; CHECK-NEXT: .long 3
|