2018-08-28 09:18:29 +08:00
|
|
|
; RUN: llc -verify-machineinstrs < %s -mtriple=powerpc-unknown-linux-gnu | FileCheck %s
|
2006-06-16 03:35:07 +08:00
|
|
|
|
2010-02-06 11:32:21 +08:00
|
|
|
@a = global i1 true
|
|
|
|
; no alignment
|
2006-06-16 03:35:07 +08:00
|
|
|
|
2010-02-06 11:32:21 +08:00
|
|
|
@b = global i8 1
|
|
|
|
; no alignment
|
|
|
|
|
|
|
|
@c = global i16 2
|
2018-08-28 09:18:29 +08:00
|
|
|
;CHECK: .p2align 1
|
|
|
|
;CHECK: c:
|
2010-02-06 11:32:21 +08:00
|
|
|
|
|
|
|
@d = global i32 3
|
2018-08-28 09:18:29 +08:00
|
|
|
;CHECK: .p2align 2
|
|
|
|
;CHECK: d:
|
2010-02-06 11:32:21 +08:00
|
|
|
|
|
|
|
@e = global i64 4
|
2018-08-28 09:18:29 +08:00
|
|
|
;CHECK: .p2align 3
|
|
|
|
;CHECK: e
|
2010-02-06 11:32:21 +08:00
|
|
|
|
|
|
|
@f = global float 5.0
|
2018-08-28 09:18:29 +08:00
|
|
|
;CHECK: .p2align 2
|
|
|
|
;CHECK: f:
|
2010-02-06 11:32:21 +08:00
|
|
|
|
|
|
|
@g = global double 6.0
|
2018-08-28 09:18:29 +08:00
|
|
|
;CHECK: .p2align 3
|
|
|
|
;CHECK: g:
|
2010-02-06 11:32:21 +08:00
|
|
|
|
|
|
|
@bar = common global [75 x i8] zeroinitializer, align 128
|
2018-08-28 09:18:29 +08:00
|
|
|
;CHECK: .comm bar,75,128
|