mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
37f1db39c4
the max itself, so it is not easy to write a test case for this, but I added a test case that would fail if the code in AsmPrinter were removed. llvm-svn: 129432
12 lines
614 B
LLVM
12 lines
614 B
LLVM
; RUN: llc < %s | FileCheck %s
|
|
target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:32:64-v128:32:128-a0:0:32-n32"
|
|
target triple = "thumbv7-apple-darwin10.0.0"
|
|
|
|
; CHECK: align 3
|
|
@.v = linker_private unnamed_addr constant <4 x i32> <i32 1, i32 2, i32 3, i32 4>, align 8
|
|
; CHECK: align 2
|
|
@.strA = linker_private unnamed_addr constant [4 x i8] c"bar\00"
|
|
; CHECK-NOT: align
|
|
@.strB = linker_private unnamed_addr constant [4 x i8] c"foo\00", align 1
|
|
@.strC = linker_private unnamed_addr constant [4 x i8] c"baz\00", section "__TEXT,__cstring,cstring_literals", align 1
|