Linear scan is going away.
[oota-llvm.git] / test / CodeGen / ARM / str_pre-2.ll
1 ; RUN: llc < %s -mtriple=armv6-linux-gnu -regalloc=basic | FileCheck %s
2
3 ; The greedy register allocator uses a single CSR here, invalidating the test.
4
5 @b = external global i64*
6
7 define i64 @t(i64 %a) nounwind readonly {
8 entry:
9 ; CHECK: push {lr}
10 ; CHECK: pop {lr}
11         %0 = load i64** @b, align 4
12         %1 = load i64* %0, align 4
13         %2 = mul i64 %1, %a
14         ret i64 %2
15 }