Enabling thumb2 mode used to force support for armv6t2. Replace this
authorJoerg Sonnenberger <joerg@bec.de>
Fri, 13 Dec 2013 11:16:00 +0000 (11:16 +0000)
committerJoerg Sonnenberger <joerg@bec.de>
Fri, 13 Dec 2013 11:16:00 +0000 (11:16 +0000)
with a temporary assertion and adjust the various test cases.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197224 91177308-0d34-0410-b5e6-96231b3b80d8

82 files changed:
lib/Target/ARM/ARMSubtarget.cpp
test/CodeGen/ARM/arm-and-tst-peephole.ll
test/CodeGen/ARM/movt.ll
test/CodeGen/ARM/select-imm.ll
test/CodeGen/ARM/t2-imm.ll
test/CodeGen/ARM/thumb2-it-block.ll
test/CodeGen/Thumb2/bfx.ll
test/CodeGen/Thumb2/carry.ll
test/CodeGen/Thumb2/div.ll
test/CodeGen/Thumb2/large-stack.ll
test/CodeGen/Thumb2/longMACt.ll
test/CodeGen/Thumb2/mul_const.ll
test/CodeGen/Thumb2/thumb2-adc.ll
test/CodeGen/Thumb2/thumb2-add.ll
test/CodeGen/Thumb2/thumb2-add2.ll
test/CodeGen/Thumb2/thumb2-add3.ll
test/CodeGen/Thumb2/thumb2-add4.ll
test/CodeGen/Thumb2/thumb2-add5.ll
test/CodeGen/Thumb2/thumb2-add6.ll
test/CodeGen/Thumb2/thumb2-and.ll
test/CodeGen/Thumb2/thumb2-and2.ll
test/CodeGen/Thumb2/thumb2-asr.ll
test/CodeGen/Thumb2/thumb2-asr2.ll
test/CodeGen/Thumb2/thumb2-bcc.ll
test/CodeGen/Thumb2/thumb2-bfc.ll
test/CodeGen/Thumb2/thumb2-bic.ll
test/CodeGen/Thumb2/thumb2-clz.ll
test/CodeGen/Thumb2/thumb2-cmn.ll
test/CodeGen/Thumb2/thumb2-cmn2.ll
test/CodeGen/Thumb2/thumb2-cmp.ll
test/CodeGen/Thumb2/thumb2-cmp2.ll
test/CodeGen/Thumb2/thumb2-eor.ll
test/CodeGen/Thumb2/thumb2-eor2.ll
test/CodeGen/Thumb2/thumb2-jtb.ll
test/CodeGen/Thumb2/thumb2-ldr.ll
test/CodeGen/Thumb2/thumb2-ldr_ext.ll
test/CodeGen/Thumb2/thumb2-ldr_post.ll
test/CodeGen/Thumb2/thumb2-ldr_pre.ll
test/CodeGen/Thumb2/thumb2-ldrb.ll
test/CodeGen/Thumb2/thumb2-ldrh.ll
test/CodeGen/Thumb2/thumb2-lsl.ll
test/CodeGen/Thumb2/thumb2-lsl2.ll
test/CodeGen/Thumb2/thumb2-lsr.ll
test/CodeGen/Thumb2/thumb2-lsr2.ll
test/CodeGen/Thumb2/thumb2-lsr3.ll
test/CodeGen/Thumb2/thumb2-mla.ll
test/CodeGen/Thumb2/thumb2-mls.ll
test/CodeGen/Thumb2/thumb2-mov.ll
test/CodeGen/Thumb2/thumb2-mul.ll
test/CodeGen/Thumb2/thumb2-mulhi.ll
test/CodeGen/Thumb2/thumb2-mvn2.ll
test/CodeGen/Thumb2/thumb2-neg.ll
test/CodeGen/Thumb2/thumb2-orn.ll
test/CodeGen/Thumb2/thumb2-orn2.ll
test/CodeGen/Thumb2/thumb2-orr.ll
test/CodeGen/Thumb2/thumb2-orr2.ll
test/CodeGen/Thumb2/thumb2-pack.ll
test/CodeGen/Thumb2/thumb2-rev.ll
test/CodeGen/Thumb2/thumb2-rev16.ll
test/CodeGen/Thumb2/thumb2-ror.ll
test/CodeGen/Thumb2/thumb2-rsb.ll
test/CodeGen/Thumb2/thumb2-rsb2.ll
test/CodeGen/Thumb2/thumb2-sbc.ll
test/CodeGen/Thumb2/thumb2-select.ll
test/CodeGen/Thumb2/thumb2-select_xform.ll
test/CodeGen/Thumb2/thumb2-smla.ll
test/CodeGen/Thumb2/thumb2-smul.ll
test/CodeGen/Thumb2/thumb2-str.ll
test/CodeGen/Thumb2/thumb2-str_post.ll
test/CodeGen/Thumb2/thumb2-str_pre.ll
test/CodeGen/Thumb2/thumb2-strb.ll
test/CodeGen/Thumb2/thumb2-strh.ll
test/CodeGen/Thumb2/thumb2-sub.ll
test/CodeGen/Thumb2/thumb2-sub2.ll
test/CodeGen/Thumb2/thumb2-sub3.ll
test/CodeGen/Thumb2/thumb2-sub4.ll
test/CodeGen/Thumb2/thumb2-sub5.ll
test/CodeGen/Thumb2/thumb2-sxt_rot.ll
test/CodeGen/Thumb2/thumb2-teq.ll
test/CodeGen/Thumb2/thumb2-teq2.ll
test/CodeGen/Thumb2/thumb2-tst.ll
test/CodeGen/Thumb2/thumb2-tst2.ll

index e907812039ffca75a8f1752dc58e2b0f7a480804..09b3ed641e3cb95ccae86c776be72fb752a964cf 100644 (file)
@@ -179,10 +179,9 @@ void ARMSubtarget::resetSubtargetFeatures(StringRef CPU, StringRef FS) {
   }
   ParseSubtargetFeatures(CPUString, ArchFS);
 
-  // Thumb2 implies at least V6T2. FIXME: Fix tests to explicitly specify a
-  // ARM version or CPU and then remove this.
-  if (!HasV6T2Ops && hasThumb2())
-    HasV4TOps = HasV5TOps = HasV5TEOps = HasV6Ops = HasV6MOps = HasV6T2Ops = true;
+  // FIXME: This used enable V6T2 support implicitly for Thumb2 mode.
+  // Assert this for now to make the change obvious.
+  assert(hasV6T2Ops() || !hasThumb2());
 
   // Keep a pointer to static instruction cost data for the specified CPU.
   SchedModel = getSchedModelForCPU(CPUString);
index 88d797e836484e17ea0d0c34cb947b0a13605438..3373455224e7ce96e21038dfce0269d378f9fd41 100644 (file)
@@ -1,6 +1,7 @@
 ; RUN: llc < %s -march=arm | FileCheck -check-prefix=ARM %s
 ; RUN: llc < %s -march=thumb | FileCheck -check-prefix=THUMB %s
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck -check-prefix=T2 %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 \
+; RUN:   | FileCheck -check-prefix=T2 %s
 ; RUN: llc < %s -mtriple=thumbv8 | FileCheck -check-prefix=V8 %s
 
 ; FIXME: The -march=thumb test doesn't change if -disable-peephole is specified.
index 25c1bfe320442cfca306d7deebfc79cfa0a094ce..735d949f755cd484b886bed77eb2027f10a8278e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=arm -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=arm -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 ; rdar://7317664
 
 define i32 @t(i32 %X) nounwind {
index 6f4bfb81d51bb603cac047dcf2d1accb16317b6e..4dc297c7ec08d94c0a09474d2f276e7d44ff8a53 100644 (file)
@@ -1,6 +1,8 @@
 ; RUN: llc < %s -march=arm                  | FileCheck %s --check-prefix=ARM
-; RUN: llc < %s -march=arm -mattr=+thumb2   | FileCheck %s --check-prefix=ARMT2
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s --check-prefix=THUMB2
+; RUN: llc < %s -march=arm -mcpu=arm1156t2-s -mattr=+thumb2   | \
+; RUN:  FileCheck %s --check-prefix=ARMT2
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | \
+; RUN:  FileCheck %s --check-prefix=THUMB2
 
 define i32 @t1(i32 %c) nounwind readnone {
 entry:
index 8b4145914e7caaba4eb695fc3a009376940babe7..dd75cd1783bafcd6bd48e2e626f11d65b95fca7b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f6(i32 %a) {
 ; CHECK:f6
index 47c5dccd6feea0fca2366473a2d04fe19a4a334c..d9547601739958a7a5843a9643c1ad4de575f83b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 ; RUN: llc < %s -mtriple=thumbv8 | FileCheck %s
 ; PR11107
 
index 489349d6155253149c04d9f82a25a8a2d7d8e2c6..e380b8f858aa0e226d5a05e5d75686571a374d6c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @sbfx1(i32 %a) {
 ; CHECK: sbfx1
index da1902b7e0f8f57654cee537ec206476fe880307..48fba4ed4a91618d5b011721bffbe1f509803b51 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i64 @f1(i64 %a, i64 %b) {
 entry:
index 003d71797ab19a36b9d69bdeba776270f96cdc1b..e783c8892397df7871f29f6726b366dc1ebabf4a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -mtriple=thumb-apple-darwin -mattr=+thumb2 \
+; RUN: llc < %s -mtriple=thumb-apple-darwin -mcpu=arm1156t2-s -mattr=+thumb2 \
 ; RUN:    | FileCheck %s -check-prefix=CHECK-THUMB
 ; RUN: llc < %s -march=thumb -mcpu=cortex-m3 -mattr=+thumb2 \
 ; RUN:    | FileCheck %s -check-prefix=CHECK-THUMBV7M
index 36f3ce2eaa88c74140a079a534146ffeb45b6fec..8d79da7982b19cf59eb5b7dbb439871fdebd70a8 100644 (file)
@@ -1,5 +1,7 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=LINUX
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 \
+; RUN:  -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=DARWIN
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 \
+; RUN:  -mtriple=arm-linux-gnueabi | FileCheck %s -check-prefix=LINUX
 
 define void @test1() {
 ; DARWIN-LABEL: test1:
index a457333d978f518a1905498e4eb579fc6f86b19f..abe65f2248bedf17e63a76371bc4f067227de7f7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 ; Check generated signed and unsigned multiply accumulate long.
 
 define i64 @MACLongTest1(i32 %a, i32 %b, i64 %c) {
index 488f4d13a0eb8080f7e2249e5bd01aa6a9eca350..41de47731da5ecc8a2ae633b598cd5b08ade1b4b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 ; rdar://7069502
 
 define i32 @t1(i32 %v) nounwind readnone {
index 7c34cfdef3f9bb5ed51e5dd1844869d661b02d5a..58e4c59c8f9a5fcee40905eae3fc783f7941b900 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 734439407618 = 0x000000ab00000002
 define i64 @f1(i64 %a) {
index c23c74a1682ee43cea1392b7c28eb4f0bd890628..5e81fcfb49ef84db22cb5862fff30aa8b5454f90 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s 
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @t2ADDrc_255(i32 %lhs) {
 ; CHECK-LABEL: t2ADDrc_255:
index 3bbc3bf812ad4dad120ebf52e7a316a3945d2dfe..ff0e0879e9dad05613f95bcb5c293f3ffd9a0cc4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 171 = 0x000000ab
 define i32 @f1(i32 %a) {
index 6cd818c03e1123fbb5a3bee544511d85fd1cba9f..bb7788f2b76ccccd7ea03f941d1242a9e7186038 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
     %tmp = add i32 %a, 4095
index 8b957114835da8d1e32b1702bb78c44c15ab01ce..ed68d62a9f4057ea6ab5a3bd05a6dbf1867eb146 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 171 = 0x000000ab
 define i64 @f1(i64 %a) {
index beaa09e1e69e77444c2dea39daa20c34328c08e6..7ef756fa18bd9f6034870bff014103709365fcc4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index 0d2f1224995655af9021cf6925505c52dd03a6fd..c4a13be7ffef0a9eddb801432f09c15c51700fc7 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i64 @f1(i64 %a, i64 %b) {
 ; CHECK-LABEL: f1:
index c9578d9d7d21c804ce543f46403e2ca04bf17ecc..3ffcfd706dab56debd9ce84d70702a66310f885e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index c0501ab8ad37dcbc211f072a0cd7a75faa946252..3bfe9b265d09674a3fd26ae19d1662d30e6ad5f9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 171 = 0x000000ab
 define i32 @f1(i32 %a) {
index ba782dde1034712cbca8047685d6a02f500a4feb..fbe39718f5d810b5b4632d18a06f23620fc31a2f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index 3685badcafdf7833dd2632f01a360f2b2bece9ca..321b3f5ffe38ae9ed02805e7faf5c0b5c80e2010 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index 81f7de9ae39c86ad06ee0451fce6397f3625079f..61171acd0a0471c86ba7ff9fd20427b453f79b8e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 ; If-conversion defeats the purpose of this test, which is to check CBZ
 ; generation, so use memory barrier instruction to make sure it doesn't
 ; happen and we get actual branches.
index 327b6d1a503af6787fbebf2fa99ce7a55c916f6e..844fb4a1a63740ac9072256006e345162c00c7fe 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 4278190095 = 0xff00000f
 define i32 @f1(i32 %a) {
index 5938fa19a3c481af5ba0395286ccbc3532feb4e4..fc57ec8c16a87b28ee35a542ea60d988ab536a05 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index dbdaae29eaef153370d92ab4c80937f4fffade14..a5cd0747f1536948ec9aca8d66542b51b7745e0c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+v7 | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index 8bcaa7e8209ecd6c4e698851645d60cb8bb1b96e..da7d4b1ec31fb130917cbfa3f274f97bfd0b46b2 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests could be improved by 'movs r0, #0' being rematerialized below the
 ; test as 'mov.w r0, #0'.
index f5db728d46a485393334aaeb900665b565d1c474..a09a1493e9802aeaf604589bd904cd499329347f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; -0x000000bb = 4294967109
 define i1 @f1(i32 %a) {
index 87413444ca3bf9e161771eddf13391334250500e..06c611da42952f8480628654f3a9c6690638b0cd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests would be improved by 'movs r0, #0' being rematerialized below the
 ; test as 'mov.w r0, #0'.
index 5b880f16deb5dbe73c34a28692c95fd1c6b0f2e7..8ca3caf0a088b6b2800ac60bcfb20a5a62d279d9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests would be improved by 'movs r0, #0' being rematerialized below the
 ; test as 'mov.w r0, #0'.
index b3e323c10d2e47e7edfca6ee2eee43552e9549ba..6dfc5cd5de69cf3a209dcce0f6f4fb8d3deb12e8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index 5daa13df655d5e11f475b613697842628388d5f7..cf27448e36cf37496596b0c3baabcad464dd45b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 0x000000bb = 187
 define i32 @f1(i32 %a) {
index 0748b9b32d9ae0d5a752a55cf4da5e98dd897d3b..11620c2f1f9227dff9489c35a99e5240482221e1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -arm-adjust-jump-tables=0 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 -arm-adjust-jump-tables=0 | FileCheck %s
 
 ; Do not use tbb / tbh if any destination is before the jumptable.
 ; rdar://7102917
index 7f68f661fa9a7319d7b51566346ef5fb859b66c6..09212d34a29e5634f26e8b41b11501134ae8247a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32* %v) {
 entry:
index 9e6aef4e09742e68f743bd2af1ade80095af4ae7..b865cf42817025c6c9bd410108e6993ec7f6b084 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep ldrb | count 1
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep ldrh | count 1
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep ldrsb | count 1
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep ldrsh | count 1
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | grep ldrb | count 1
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | grep ldrh | count 1
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | grep ldrsb | count 1
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | grep ldrsh | count 1
 
 define i32 @test1(i8* %v.pntr.s0.u1) {
     %tmp.u = load i8* %v.pntr.s0.u1
index bce847471beb2b43fb966705e09e80f6e11cade5..4f04647d7af7968f391ecaef83e1a88dd358a911 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @test(i32 %a, i32 %b, i32 %c) {
         %tmp1 = mul i32 %a, %b          ; <i32> [#uses=2]
index 601c0b560800e705c09d45c46ffc848a30e203fa..4907dec19dfbd42099ab1456c800d317a2f2853c 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | \
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | \
 ; RUN:   grep "ldr.*\!" | count 3
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | \
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | \
 ; RUN:   grep "ldrsb.*\!" | count 1
 
 define i32* @test1(i32* %X, i32* %dest) {
index c135effd796bd715dde11913901abb4e51de63ab..c79f7327b150aab0d1bad14a58ba3c83834657ea 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i8 @f1(i8* %v) {
 entry:
index 99f6aba65cf03070e672fb1b269474a99a881586..7ba9f2230d4300aa59efbf7f362697b178d3b5ce 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i16 @f1(i16* %v) {
 entry:
index 1b4853853a4e3a93997c77fbea72b68abf8cb0e4..015a9dd471a484c9a749281be00f753a1dfd5fd4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index bc0978e68241be234f39f1671bb173ef278458e8..c64897a11580f9958182dee5398ec3e44a092272 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index a3b207c1f90ba95aeee9cadc7b5a49ea93ccdb0e..24973c7b5331b69abf4bce5f8a040a5c1a1f419d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index ae55735fabbc1dca434b7de4951992e2a6ed79a2..0b199bb46b27677382067ddfaf612e4040ab375e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index e7ba782afe6a25a1d57871b9bcd014722ddd5a15..c81412317ccb6b1fd63f7a99c4ef0596904310d1 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i1 @test1(i64 %poscnt, i32 %work) {
 entry:
index 709fa13dd3a156779befca27b32281598b8b5a1b..a99ffe7a7668d12a831a87b2e45879efa815a445 100644 (file)
@@ -1,5 +1,6 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -arm-use-mulops=false | FileCheck %s -check-prefix=NO_MULOPS
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 \
+; RUN:  -arm-use-mulops=false | FileCheck %s -check-prefix=NO_MULOPS
 
 define i32 @f1(i32 %a, i32 %b, i32 %c) {
     %tmp1 = mul i32 %a, %b
index 86e147b24018e0d58dffeb9cfa7ccc610973f69d..45d6d135c6d842fb0fb8ed9a872896c2b64e5d97 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b, i32 %c) {
     %tmp1 = mul i32 %a, %b
index 148bafec4014f72a5fd98da0b349c19d655ae09b..7c0dc01ccf1674f54e51f21e2c4efc748f36ca90 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; Test #<const>
 
index a989989b43f7b96bcdbd5e606d89b65d1c3f1c3d..5f6825072d4c524a4f1fe7112e803b3e972c05b5 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b, i32 %c) {
 ; CHECK-LABEL: f1:
index 9d4840a2deb817597108aae7990300e6cd2639d9..e32bd26ae9b7684f21f2c53227471780489ab89b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2dsp | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+t2dsp | FileCheck %s
 
 define i32 @smulhi(i32 %x, i32 %y) {
 ; CHECK: smulhi
index bce54a352e802d5451b276855daca4368fe92cdf..cee6f235a2ac3ca6d4f6fbad0ce34a433a0f04c4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index 40e809862140aa4ed3d50ec32deb947e6fa18a7b..491e4de931574184c2061efd731a97ecbfb9811f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index 5bbe653cd12e1f4e2353394da23e320ee6b66177..08676b1e34e6b0ceb61a00feaa63de50f80d796c 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 
 define i32 @f1(i32 %a, i32 %b) {
index eff3ae38a0567d3daaf579a0ca5166ebb1cc286a..a8f4a84e65e1c8ccd098bbcedfc1d22887b4891f 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 
 ; 0x000000bb = 187
index 13ed8620059b3106a46e0cf82e243fe8a581a43d..776d7fe790ae69fdba709cc3333fc698ba5f741e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index 837bb1cb07c1f31ddaec7516bae2a7913d481b3f..37885e277c8a3a441aaa894100d8dca5f8861760 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 
 ; 0x000000bb = 187
index 1052dd2a072ef28aacd6180b030e27025a80f9d8..9a0d8892ccea363c4703a3678821f3f7f077d758 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+t2xtpk | FileCheck %s
 
 ; CHECK: test1
 ; CHECK: pkhbt   r0, r0, r1, lsl #16
index 67cd62362fe9a89f00e9e5e2ae3e388377554c91..d71011382a74aed7e26aab8c1f78af8f735c8e52 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+v7,+t2xtpk | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+v7,+t2xtpk | FileCheck %s
 
 define i32 @f1(i32 %a) {
 ; CHECK-LABEL: f1:
index 10cd5391a48d69684480c7fe99238ce14f9d498e..3e2658741b6f9ea921a837d9e88c0d53f9141594 100644 (file)
@@ -1,7 +1,7 @@
 ; XFAIL: *
 ; fixme rev16 pattern is not matching
 
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep "rev16\W*r[0-9]*,\W*r[0-9]*" | count 1
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | grep "rev16\W*r[0-9]*,\W*r[0-9]*" | count 1
 
 ; 0xff00ff00 = 4278255360
 ; 0x00ff00ff = 16711935
index 2a218eae9752b6934bf2b1e6f45314e6956d48f5..3a21560ae8b1e192100b1300fea3561f17b56844 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 ; RUN: llc < %s -march=thumb | FileCheck %s -check-prefix=THUMB1
 
 ; CHECK-LABEL: f1:
index 150a25f51b549587c87cdb14a9cc83990d6bbb7d..94a1fb0a4a1af1e1627e23a33f639c201a43e8f8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
     %tmp = shl i32 %b, 5
index 15aa8af3b83bceef289eb477f9f5df024ca304d4..248ab165a492dd0e92051567bbd13d65d83db7a0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 171 = 0x000000ab
 define i32 @f1(i32 %a) {
index 0c37984ba3e7af0622aea6657a26e5ad62ba4760..7c69451b1bd7a167ca4d7dd1a851029cb664a77b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=thumb -mattr=+thumb2 < %s | FileCheck %s
+; RUN: llc -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 < %s | FileCheck %s
 
 define i64 @f1(i64 %a, i64 %b) {
 ; CHECK: f1
index 5f5fa1992516af82c3073e1db2b0362e5631702f..949b6116ca38d1c2c52b721ad4785b1eafabd13d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -show-mc-encoding | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 -show-mc-encoding | FileCheck %s
 
 define i32 @f1(i32 %a.s) {
 entry:
index ed4d26d746cbc47d4e93b909d1e4542e50884032..f8ceba220aec6ad7ba6c2dccba4350d5294a0cf8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @t1(i32 %a, i32 %b, i32 %c) nounwind {
 ; CHECK: t1
index aaaedfa42e741b96e465dacd8c2ff877763aa538..f96263ee9ce745f74420d3c4bb6932908154b3e4 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk,+t2dsp | FileCheck %s
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk,+t2dsp -arm-use-mulops=false | FileCheck %s -check-prefix=NO_MULOPS
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+t2xtpk,+t2dsp | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+t2xtpk,+t2dsp -arm-use-mulops=false | FileCheck %s -check-prefix=NO_MULOPS
 
 define i32 @f3(i32 %a, i16 %x, i32 %y) {
 ; CHECK: f3
index 7a13269615d45b507785500da843c17be2387e7e..742e7662b91cd1b7ea0bdbc50956d82a1bc26988 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk,+t2dsp |  FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+t2xtpk,+t2dsp |  FileCheck %s
 
 @x = weak global i16 0          ; <i16*> [#uses=1]
 @y = weak global i16 0          ; <i16*> [#uses=0]
index fb5fa168e8b867f35ab0a646d8bf4e7a23b38b04..f800974ed991bc3070be3d8b6eef6638b6df4e10 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32* %v) {
 ; CHECK-LABEL: f1:
index 2133d280700603442df01dfe17f2550db917bd97..716c2d2e240e46921111fff04105acf7bf00df5b 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i16 @test1(i32* %X, i16* %A) {
 ; CHECK-LABEL: test1:
index 1e6616a91cc5243cfc7d043aa7ff78f2a2e736db..83b3779c1d6e3cec0930891e51ac42bfebeb3ee0 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define void @test1(i32* %X, i32* %A, i32** %dest) {
 ; CHECK: test1
index cc39b7d585c558a154b54ab9874f126a3e461525..39e376d1a735134c8f715efffb99f596e13b378d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i8 @f1(i8 %a, i8* %v) {
 ; CHECK-LABEL: f1:
index d6869383051843e5875a35b21dc6f01d884f3989..944438361138f1f1d582331fde70523657b89b46 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i16 @f1(i16 %a, i16* %v) {
 ; CHECK-LABEL: f1:
index f83dfe2e00a4739882fc6cf196b7760b3b2fadc2..ad5eda18776903b982f424fc0699b2fdbcbc1278 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; 171 = 0x000000ab
 define i32 @f1(i32 %a) {
index 47eb1e1a36cfbb248616087db0674c735d3a1ce9..f11489259b9b1bb92914fab2ad490f41530b7eb9 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a) {
     %tmp = sub i32 %a, 4095
index 1dbda57f2369888241564d332e677a2fb2dc4561..ae12b28e93c3b62046f98a22356f63f4915a4f82 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc -march=thumb -mattr=+thumb2 < %s | FileCheck %s
+; RUN: llc -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 < %s | FileCheck %s
 
 ; 171 = 0x000000ab
 define i64 @f1(i64 %a) {
index ff1441ac64dd49f749766e7fe86e76c3c66a9cd2..873080a2cad1f0b7ea6befedc6884e69fc9af639 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 define i32 @f1(i32 %a, i32 %b) {
 ; CHECK-LABEL: f1:
index 5941dd6ec89f0326b34e1a539b52fadf4707f796..02c83f6629d5c3873acaff435c590e82fef14f6d 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -mattr=+32bit | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+32bit \
+; RUN:  | FileCheck %s
 
 define i64 @f1(i64 %a, i64 %b) {
 ; CHECK-LABEL: f1:
index f3d0edf0c5781b51f3c13ab93d0832050e478b04..75bbd83558a03585dafaeeb82bbc2350aef253c3 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2,+t2xtpk | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2,+t2xtpk | FileCheck %s
 
 define i32 @test0(i8 %A) {
 ; CHECK: test0
index 5acda35b4948447337d98bf0307123c94c2d0803..6b34e703f3d31247bf81fd298ca6b1ce629e91b8 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests would be improved by 'movs r0, #0' being rematerialized below the
 ; test as 'mov.w r0, #0'.
index 27ecad83939951dc2e8f1c36601b2fe37a2703ba..ea43e5606cafbc9cc4489b083a633a687c626d47 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests would be improved by 'movs r0, #0' being rematerialized below the
 ; tst as 'mov.w r0, #0'.
index 31eafea614de094b9fab6deb8a6fae5b81aa0e29..c17510d42d54af42a8d73bb7507bb4c3b561fb2e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests would be improved by 'movs r0, #0' being rematerialized below the
 ; tst as 'mov.w r0, #0'.
index f71e91d1e9de817379f145251d8515bc2673ccba..764e3d4d38325bd98a010e14a357f8c74a6f6026 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -march=thumb -mcpu=arm1156t2-s -mattr=+thumb2 | FileCheck %s
 
 ; These tests would be improved by 'movs r0, #0' being rematerialized below the
 ; tst as 'mov.w r0, #0'.