[LV] Add tests with outisde IV users where vector region can e removed.
[llvm-project.git] / llvm / test / MC / Mips / set-arch.s
blob64bf3687883d777a03fcd65d0148627e30e0ca8f
1 # RUN: llvm-mc %s -triple=mipsel-unknown-linux -show-encoding -mcpu=mips32 | \
2 # RUN: FileCheck %s
4 .text
5 .set arch=mips1
6 add $2, $2, $2
7 .set arch=mips2
8 ll $2, -2($2)
9 .set arch=mips3
10 dadd $2, $2, $2
11 .set arch=mips4
12 ldxc1 $f8, $2($4)
13 .set arch=mips5
14 luxc1 $f19, $2($4)
15 .set arch=mips32
16 clo $2, $2
17 .set arch=mips32r2
18 rotr $2, $2, 15
19 .set arch=mips32
20 .set arch=mips32r3
21 rotr $2, $2, 15
22 .set arch=mips32
23 .set arch=mips32r5
24 rotr $2, $2, 15
25 .set arch=mips32r6
26 mod $2, $4, $6
27 .set arch=mips64
28 daddi $2, $2, 10
29 .set arch=mips64r2
30 drotr32 $1, $14, 15
31 .set arch=mips64
32 .set arch=mips64r3
33 drotr32 $1, $14, 15
34 .set arch=mips64
35 .set arch=mips64r5
36 drotr32 $1, $14, 15
37 .set arch=mips64r6
38 mod $2, $4, $6
39 .set arch=octeon
40 baddu $9, $6, $7
41 .set arch=octeon+
42 saa $2, ($5)
43 .set arch=r4000
44 dadd $2, $2, $2
46 # CHECK: .set arch=mips1
47 # CHECK: add $2, $2, $2
48 # CHECK: .set arch=mips2
49 # CHECK: ll $2, -2($2)
50 # CHECK: .set arch=mips3
51 # CHECK: dadd $2, $2, $2
52 # CHECK: .set arch=mips4
53 # CHECK: ldxc1 $f8, $2($4)
54 # CHECK: .set arch=mips5
55 # CHECK: luxc1 $f19, $2($4)
56 # CHECK: .set arch=mips32
57 # CHECK: clo $2, $2
58 # CHECK: .set arch=mips32r2
59 # CHECK: rotr $2, $2, 15
60 # CHECK: .set arch=mips32r6
61 # CHECK: mod $2, $4, $6
62 # CHECK: .set arch=mips64
63 # CHECK: daddi $2, $2, 10
64 # CHECK: .set arch=mips64r2
65 # CHECK: drotr32 $1, $14, 15
66 # CHECK: .set arch=mips64r6
67 # CHECK: mod $2, $4, $6
68 # CHECK: .set arch=octeon
69 # CHECK: baddu $9, $6, $7
70 # CHECK: .set arch=octeon+
71 # CHECK: saa $2, ($5)
72 # CHECK: .set arch=r4000
73 # CHECK: dadd $2, $2, $2