summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorArtyom Skrobov <Artyom.Skrobov@arm.com>2014-01-10 16:42:55 +0000
committerArtyom Skrobov <Artyom.Skrobov@arm.com>2014-01-10 16:42:55 +0000
commit6099123db84295d3d73ee5140d35f7e66d1b3bfe (patch)
tree9681fccd6495869a82c3304feb5a4c385be80dfb /test
parent793e2aaa73dfd19ee223ccad24f8b7a6de53812a (diff)
downloadllvm-6099123db84295d3d73ee5140d35f7e66d1b3bfe.tar.gz
llvm-6099123db84295d3d73ee5140d35f7e66d1b3bfe.tar.bz2
llvm-6099123db84295d3d73ee5140d35f7e66d1b3bfe.tar.xz
Must not produce Tag_CPU_arch_profile for pre-ARMv7 cores (e.g. cortex-m0)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198945 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/ARM/build-attributes.ll4
-rw-r--r--test/MC/ARM/directive-arch-armv6-m.s6
2 files changed, 5 insertions, 5 deletions
diff --git a/test/CodeGen/ARM/build-attributes.ll b/test/CodeGen/ARM/build-attributes.ll
index faf89728a8..ce7a31f3dc 100644
--- a/test/CodeGen/ARM/build-attributes.ll
+++ b/test/CodeGen/ARM/build-attributes.ll
@@ -43,7 +43,7 @@
; V6-NOT: .eabi_attribute 68
; V6M: .eabi_attribute 6, 12
-; V6M: .eabi_attribute 7, 77
+; V6M-NOT: .eabi_attribute 7
; V6M: .eabi_attribute 8, 0
; V6M: .eabi_attribute 9, 1
; V6M: .eabi_attribute 24, 1
@@ -333,7 +333,7 @@
; CORTEX-M0: .cpu cortex-m0
; CORTEX-M0: .eabi_attribute 6, 12
-; CORTEX-M0: .eabi_attribute 7, 77
+; CORTEX-M0-NOT: .eabi_attribute 7
; CORTEX-M0: .eabi_attribute 8, 0
; CORTEX-M0: .eabi_attribute 9, 1
; CORTEX-M0: .eabi_attribute 24, 1
diff --git a/test/MC/ARM/directive-arch-armv6-m.s b/test/MC/ARM/directive-arch-armv6-m.s
index 5a28905b6a..fc70827903 100644
--- a/test/MC/ARM/directive-arch-armv6-m.s
+++ b/test/MC/ARM/directive-arch-armv6-m.s
@@ -19,12 +19,12 @@
@ CHECK-OBJ: ]
@ CHECK-OBJ: Address: 0x0
@ CHECK-OBJ: Offset: 0x34
-@ CHECK-OBJ: Size: 27
+@ CHECK-OBJ: Size: 25
@ CHECK-OBJ: Link: 0
@ CHECK-OBJ: Info: 0
@ CHECK-OBJ: AddressAlignment: 1
@ CHECK-OBJ: EntrySize: 0
@ CHECK-OBJ: SectionData (
-@ CHECK-OBJ: 0000: 411A0000 00616561 62690001 10000000 |A....aeabi......|
-@ CHECK-OBJ: 0010: 05362D4D 00060B07 4D0901 |.6-M....M..|
+@ CHECK-OBJ: 0000: 41180000 00616561 62690001 0E000000 |A....aeabi......|
+@ CHECK-OBJ: 0010: 05362D4D 00060B09 01 |.6-M.....|
@ CHECK-OBJ: )