[DAGCombiner] Add target hook function to decide folding (mul (add x, c1), c2)
[llvm-project.git] / llvm / test / MC / ARM / directive-unsupported.s
blobd90db7adee6149a72b33c6c1e2cf9c230fed54cd
1 @ RUN: not llvm-mc -triple thumbv7-windows -filetype asm -o /dev/null %s 2>&1 \
2 @ RUN: | FileCheck %s
4 @ RUN: not llvm-mc -triple armv7-darwin -filetype asm -o /dev/null %s 2>&1 \
5 @ RUN: | FileCheck %s
7 .syntax unified
9 .arch armv7
11 // CHECK: error: unknown directive
12 // CHECK: .arch armv7
13 // CHECK: ^
15 .cpu cortex-a7
17 // CHECK: error: unknown directive
18 // CHECK: .cpu cortex-a7
19 // CHECK: ^
21 .fpu neon
23 // CHECK: error: unknown directive
24 // CHECK: .fpu neon
25 // CHECK: ^
27 .eabi_attribute 0, 0
29 // CHECK: error: unknown directive
30 // CHECK: .eabi_attribute 0, 0
31 // CHECK: ^
33 .object_arch armv7
35 // CHECK: error: unknown directive
36 // CHECK: .object_arch armv7
37 // CHECK: ^
39 .tlsdescseq undefined
41 // CHECK: error: unknown directive
42 // CHECK: .tlsdescseq undefined
43 // CHECK: ^
45 .fnstart
47 // CHECK: error: unknown directive
48 // CHECK: .fnstart
49 // CHECK: ^