blob: ccdc7bf4c1408e20a13dbb48f7a1ead427f603e7 [file] [log] [blame]
Dan Gohmanda594cf2009-09-09 00:09:15 +00001; RUN: llc < %s -march=arm
2; RUN: llc < %s -mtriple=arm-linux-gnueabi | grep mov | count 1
3; RUN: llc < %s -mtriple=arm-linux-gnu --disable-fp-elim | \
Dan Gohman8c89a502007-08-15 13:36:28 +00004; RUN: grep mov | count 3
Jim Grosbacheee86172009-11-21 23:34:09 +00005; RUN: llc < %s -mtriple=arm-apple-darwin | grep mov | count 2
Dan Gohmanf17a25c2007-07-18 16:29:46 +00006
7@str = internal constant [12 x i8] c"Hello World\00"
8
9define i32 @main() {
10 %tmp = call i32 @puts( i8* getelementptr ([12 x i8]* @str, i32 0, i64 0) ) ; <i32> [#uses=0]
11 ret i32 0
12}
13
14declare i32 @puts(i8*)