llvm.org GIT mirror llvm / 8ac98cb
FileCheck'ize git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117401 91177308-0d34-0410-b5e6-96231b3b80d8 Jim Grosbach 9 years ago
1 changed file(s) with 3 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
None ; RUN: llc < %s -mtriple=arm-linux-gnu | grep {str.*\\!}
1 ; RUN: llc < %s -mtriple=arm-linux-gnu | grep {ldr.*\\\[.*\], #4}
0 ; RUN: llc < %s -mtriple=arm-linux-gnu | FileCheck %s
21
32 @b = external global i64*
43
54 define i64 @t(i64 %a) nounwind readonly {
65 entry:
6 ; CHECK: str lr, [sp, #-4]!
7 ; CHECK: ldr lr, [sp], #4
78 %0 = load i64** @b, align 4
89 %1 = load i64* %0, align 4
910 %2 = mul i64 %1, %a