[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / AArch64 / mapping-across-sections.s
blob3d32c1dfb400769b988ace1e9d0f44b7677790f4
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -filetype=obj < %s | llvm-objdump -t - | FileCheck %s
3 .text
4 add w0, w0, w0
6 // .wibble should *not* inherit .text's mapping symbol. It's a completely different section.
7 .section .wibble
8 add w0, w0, w0
10 // A setion should be able to start with a $d
11 .section .starts_data
12 .word 42
14 // Changing back to .text should not emit a redundant $x
15 .text
16 add w0, w0, w0
18 // With all those constraints, we want:
19 // + .text to have $x at 0 and no others
20 // + .wibble to have $x at 0
21 // + .starts_data to have $d at 0
24 // CHECK: 00000000 .starts_data 00000000 $d
25 // CHECK-NEXT: 00000000 .text 00000000 $x
26 // CHECK-NEXT: 00000000 .wibble 00000000 $x
27 // CHECK-NOT: ${{[adtx]}}