1# RUN: llvm-mc -assemble -triple=thumbv8.1m.main -mattr=+mve -filetype=obj %s -o - 2>&1 | \
2# RUN:   llvm-objdump -d -r --triple=thumbv8.1m.main --mattr=+mve - | FileCheck %s
3
4# Test to check that we can evaluate branches and their targets, i.e.
5# checking that we see branch targets annotations like <$t.0+0xc> in the
6# disassembly.
7
8# CHECK:  wls lr, r3, #8 <$t.0+0xc>
9# CHECK:  vmov  q0, q1
10# CHECK:  le  lr, #-8 <$t.0+0x4>
11
12          wls lr, r3, #8
13          vmov  q0, q1
14          le  lr, #-8
15
16
17# CHECK:  wlstp.8 lr, r3, #8 <$t.0+0x18>
18# CHECK:  vmov  q0, q1
19# CHECK:  letp  lr, #-8 <$t.0+0x10>
20
21          wlstp.8  lr, r3, #8
22          vmov  q0, q1
23          letp  lr, #-8
24
25
26# CHECK:  wlstp.16  lr, r3, #8 <$t.0+0x24>
27# CHECK:  vmov  q0, q1
28# CHECK:  letp  lr, #-8 <$t.0+0x1c>
29
30          wlstp.16  lr, r3, #8
31          vmov  q0, q1
32          letp  lr, #-8
33
34
35# CHECK:  wlstp.32  lr, r3, #8 <$t.0+0x30>
36# CHECK:  vmov  q0, q1
37# CHECK:  letp  lr, #-8 <$t.0+0x28>
38
39          wlstp.32  lr, r3, #8
40          vmov  q0, q1
41          letp  lr, #-8
42
43
44# CHECK:  wlstp.64  lr, r3, #8 <$t.0+0x3c>
45# CHECK:  vmov  q0, q1
46# CHECK:  letp  lr, #-8 <$t.0+0x34>
47
48          wlstp.64  lr, r3, #8
49          vmov  q0, q1
50          letp  lr, #-8
51