[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ARM / directive-arch-armv3m.s
blob08843c834b77d91e92497cf43e01d6c69956e70b
1 @ Test the .arch directive for armv3m
3 @ This test case will check the default .ARM.attributes value for the
4 @ armv3m architecture.
6 @ RUN: llvm-mc -triple arm-eabi -filetype asm %s \
7 @ RUN: | FileCheck %s -check-prefix CHECK-ASM
8 @ RUN: llvm-mc -triple arm-eabi -filetype obj %s \
9 @ RUN: | llvm-readobj --arch-specific | FileCheck %s -check-prefix CHECK-ATTR
11 .syntax unified
12 .arch armv3m
14 @ CHECK-ASM: .arch armv3m
16 @ CHECK-ATTR: FileAttributes {
17 @ CHECK-ATTR: Attribute {
18 @ CHECK-ATTR: TagName: CPU_name
19 @ CHECK-ATTR: Value: 3M
20 @ CHECK-ATTR: }
21 @ CHECK-ATTR: Attribute {
22 @ CHECK-ATTR: TagName: CPU_arch
23 @ CHECK-ATTR: Description: Pre-v4
24 @ CHECK-ATTR: }
25 @ CHECK-ATTR: Attribute {
26 @ CHECK-ATTR: TagName: ARM_ISA_use
27 @ CHECK-ATTR: Description: Permitted
28 @ CHECK-ATTR: }
29 @ CHECK-ATTR: }