2019-01-14 18:55:55 +08:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu -relocation-model=pic -frame-pointer=all | 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
|
|
|
|
2018-08-28 09:18:29 +08:00
|
|
|
; CHECK: .globl _cmd
|
2016-01-26 08:03:25 +08:00
|
|
|
; CHECK-NEXT: .p2align 3
|
2018-08-28 09:18:29 +08:00
|
|
|
; CHECK-NEXT: _cmd:
|
|
|
|
; CHECK-NEXT: .size _cmd, 0
|
2010-04-20 14:20:21 +08:00
|
|
|
|
|
|
|
; PR6340
|
|
|
|
|
|
|
|
%Ty = type { i32, {}, i32 }
|
|
|
|
@k = global %Ty { i32 1, {} zeroinitializer, i32 3 }
|
|
|
|
|
2018-08-28 09:18:29 +08:00
|
|
|
; CHECK: k:
|
2010-04-20 14:20:21 +08:00
|
|
|
; CHECK-NEXT: .long 1
|
|
|
|
; CHECK-NEXT: .long 3
|