aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Thumb2/div.ll
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-08-11 07:17:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-08-11 07:17:46 +0000
commit7b4d31176efe6894bcfaa05257dd5783acda5ddc (patch)
treede0b529d4c27ad838d16439ad33a01379342b6a0 /test/CodeGen/Thumb2/div.ll
parent8d62e713ea8c1597cc81da029a79925cbb125f4c (diff)
downloadexternal_llvm-7b4d31176efe6894bcfaa05257dd5783acda5ddc.zip
external_llvm-7b4d31176efe6894bcfaa05257dd5783acda5ddc.tar.gz
external_llvm-7b4d31176efe6894bcfaa05257dd5783acda5ddc.tar.bz2
Report error if codegen tries to instantiate a ARM target when the cpu does support it. e.g. cortex-m* processors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/Thumb2/div.ll')
-rw-r--r--test/CodeGen/Thumb2/div.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/Thumb2/div.ll b/test/CodeGen/Thumb2/div.ll
index 0cddd48..e63a115 100644
--- a/test/CodeGen/Thumb2/div.ll
+++ b/test/CodeGen/Thumb2/div.ll
@@ -1,6 +1,6 @@
; RUN: llc < %s -march=thumb -mattr=+thumb2 \
; RUN: | FileCheck %s -check-prefix=CHECK-THUMB
-; RUN: llc < %s -march=arm -mcpu=cortex-m3 -mattr=+thumb2 \
+; RUN: llc < %s -march=thumb -mcpu=cortex-m3 -mattr=+thumb2 \
; RUN: | FileCheck %s -check-prefix=CHECK-THUMBV7M
define i32 @f1(i32 %a, i32 %b) {