1 ; RUN: llc -march=mipsel -O3 < %s | FileCheck %s
2 ; RUN: llc -mtriple=mipsel-none-nacl-gnu -O3 < %s \
3 ; RUN: | FileCheck %s -check-prefix=CHECK-NACL
5 @var = external global i32
8 %val1 = load volatile i32, ptr @var
9 %val2 = load volatile i32, ptr @var
10 %val3 = load volatile i32, ptr @var
11 %val4 = load volatile i32, ptr @var
12 %val5 = load volatile i32, ptr @var
13 %val6 = load volatile i32, ptr @var
14 %val7 = load volatile i32, ptr @var
15 %val8 = load volatile i32, ptr @var
16 %val9 = load volatile i32, ptr @var
17 %val10 = load volatile i32, ptr @var
18 %val11 = load volatile i32, ptr @var
19 %val12 = load volatile i32, ptr @var
20 %val13 = load volatile i32, ptr @var
21 %val14 = load volatile i32, ptr @var
22 %val15 = load volatile i32, ptr @var
23 %val16 = load volatile i32, ptr @var
24 store volatile i32 %val1, ptr @var
25 store volatile i32 %val2, ptr @var
26 store volatile i32 %val3, ptr @var
27 store volatile i32 %val4, ptr @var
28 store volatile i32 %val5, ptr @var
29 store volatile i32 %val6, ptr @var
30 store volatile i32 %val7, ptr @var
31 store volatile i32 %val8, ptr @var
32 store volatile i32 %val9, ptr @var
33 store volatile i32 %val10, ptr @var
34 store volatile i32 %val11, ptr @var
35 store volatile i32 %val12, ptr @var
36 store volatile i32 %val13, ptr @var
37 store volatile i32 %val14, ptr @var
38 store volatile i32 %val15, ptr @var
39 store volatile i32 %val16, ptr @var
42 ; Check that t6, t7 and t8 are used in non-NaCl code.
47 ; t6, t7 and t8 are reserved in NaCl.
48 ; CHECK-NACL-NOT: lw $14
49 ; CHECK-NACL-NOT: lw $15
50 ; CHECK-NACL-NOT: lw $24