2006-12-07 22:38:06 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm &&
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep align.*1 | wc | grep 1 &&
|
2007-01-22 23:18:10 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | grep align.*2 | wc | grep 2 &&
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | grep align.*3 | wc | grep 2
|
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | grep align.*2 | wc | grep 4
|
2006-12-07 22:38:06 +00:00
|
|
|
|
|
|
|
%a = global bool true
|
|
|
|
%b = global sbyte 1
|
|
|
|
%c = global short 2
|
|
|
|
%d = global int 3
|
|
|
|
%e = global long 4
|
|
|
|
%f = global float 5.0
|
|
|
|
%g = global double 6.0
|