diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-01-19 09:20:23 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-01-19 09:20:23 +0000 |
commit | a5007faaa68de9487fe63b690bea6e16c3c5f770 (patch) | |
tree | 07322d3e08789b6620893863778d9927e5cf80ce /llvm/test/CodeGen/ARM/hello.ll | |
parent | 10043e215bcfd6d2b09a6ce3ad461fd686f686b8 (diff) | |
download | bcm5719-llvm-a5007faaa68de9487fe63b690bea6e16c3c5f770.tar.gz bcm5719-llvm-a5007faaa68de9487fe63b690bea6e16c3c5f770.zip |
ARM test cases contributed by Apple.
llvm-svn: 33354
Diffstat (limited to 'llvm/test/CodeGen/ARM/hello.ll')
-rw-r--r-- | llvm/test/CodeGen/ARM/hello.ll | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/ARM/hello.ll b/llvm/test/CodeGen/ARM/hello.ll index af5fafacc3b..abf6b4c0400 100644 --- a/llvm/test/CodeGen/ARM/hello.ll +++ b/llvm/test/CodeGen/ARM/hello.ll @@ -1,12 +1,11 @@ ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm && -; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | grep mov | wc -l | grep 1 -%str = internal constant [12 x sbyte] c"Hello World\00" ; <[12 x sbyte]*> [#uses=1] +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux | grep mov | wc -l | grep 1 && +; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | grep mov | wc -l | grep 2 -implementation ; Functions: +%str = internal constant [12 x sbyte] c"Hello World\00" int %main() { -entry: - %tmp = call int %puts( sbyte* getelementptr ([12 x sbyte]* %str, int 0, uint 0) ) ; <int> [#uses=0] + %tmp = call int %puts( sbyte* getelementptr ([12 x sbyte]* %str, int 0, uint 0) ) ret int 0 } |