diff options
author | Ed Schouten <ed@FreeBSD.org> | 2009-06-03 13:28:00 +0000 |
---|---|---|
committer | Ed Schouten <ed@FreeBSD.org> | 2009-06-03 13:28:00 +0000 |
commit | 33a8e4360f5050416130517e5c7a1007d06aa90f (patch) | |
tree | 90502b3518861e1704738c228456f7079013368b /test/CodeGen/ARM | |
parent | 009b1c42aa6266385f2c37e227516b24077e6dd7 (diff) |
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r-- | test/CodeGen/ARM/str_pre-2.ll | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/str_pre-2.ll b/test/CodeGen/ARM/str_pre-2.ll new file mode 100644 index 000000000000..247465f33201 --- /dev/null +++ b/test/CodeGen/ARM/str_pre-2.ll @@ -0,0 +1,13 @@ +; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnu | grep {str.*\\!} +; RUN: llvm-as < %s | llc -mtriple=arm-linux-gnu | grep {ldr.*\\\[.*\], #+4} +; XFAIL: * + +@b = external global i64* + +define i64 @t(i64 %a) nounwind readonly { +entry: + %0 = load i64** @b, align 4 + %1 = load i64* %0, align 4 + %2 = mul i64 %1, %a + ret i64 %2 +} |