Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / VE / symbols.s
blob1f1d9a341af6de9d11a75b16c3c1006bf807b5c2
1 # RUN: llvm-mc -triple=ve %s -o - | FileCheck %s
2 # RUN: llvm-mc -triple=ve -filetype=obj %s -o - | llvm-objdump -r - | FileCheck %s --check-prefix=CHECK-OBJ
4 lea %s0, var
5 lea %s1, var@lo
6 and %s1, %s1, (32)0
7 lea.sl %s1, var@hi(, %s1)
8 lea %s1, var+8@lo
9 and %s1, %s1, (32)0
10 lea.sl %s1, var+8@hi(, %s1)
11 # CHECK: lea %s0, var
12 # CHECK-NEXT: lea %s1, var@lo
13 # CHECK-NEXT: and %s1, %s1, (32)0
14 # CHECK-NEXT: lea.sl %s1, var@hi(, %s1)
15 # CHECK-NEXT: lea %s1, var+8@lo
16 # CHECK-NEXT: and %s1, %s1, (32)0
17 # CHECK-NEXT: lea.sl %s1, var+8@hi(, %s1)
19 # CHECK-OBJ: 0 R_VE_REFLONG var
20 # CHECK-OBJ-NEXT: 8 R_VE_LO32 var
21 # CHECK-OBJ-NEXT: 18 R_VE_HI32 var
22 # CHECK-OBJ-NEXT: 20 R_VE_LO32 var+0x8
23 # CHECK-OBJ-NEXT: 30 R_VE_HI32 var+0x8