summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-10-24 23:11:05 +0000
committerJim Grosbach <grosbach@apple.com>2013-10-24 23:11:05 +0000
commite034422d2a833ea1e257efe88696b6e93743b042 (patch)
treec8a2951477f4595ca229a973dc081b0cd85431a3 /test/CodeGen/ARM
parent3115047182dfa0e4692901e897a58e5be3329423 (diff)
downloadllvm-e034422d2a833ea1e257efe88696b6e93743b042.tar.gz
llvm-e034422d2a833ea1e257efe88696b6e93743b042.tar.bz2
llvm-e034422d2a833ea1e257efe88696b6e93743b042.tar.xz
ARM: Test r193381 a bit more thoroughly.
Make sure we're predicating right based on CPU even if the triple is 'wrong'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193382 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM')
-rw-r--r--test/CodeGen/ARM/darwin-eabi.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/ARM/darwin-eabi.ll b/test/CodeGen/ARM/darwin-eabi.ll
index f0696b3bd0..f2cde71dd4 100644
--- a/test/CodeGen/ARM/darwin-eabi.ll
+++ b/test/CodeGen/ARM/darwin-eabi.ll
@@ -1,5 +1,7 @@
; RUN: llc -mtriple=thumbv7m-apple-darwin -mcpu=cortex-m3 < %s | FileCheck %s --check-prefix=CHECK-M3
; RUN: llc -mtriple=thumbv7em-apple-darwin -mcpu=cortex-m4 < %s | FileCheck %s --check-prefix=CHECK-M4
+; RUN: llc -mtriple=thumbv7-apple-darwin -mcpu=cortex-m3 < %s | FileCheck %s --check-prefix=CHECK-M3
+; RUN: llc -mtriple=thumbv7-apple-darwin -mcpu=cortex-m4 < %s | FileCheck %s --check-prefix=CHECK-M4
define float @float_op(float %lhs, float %rhs) {
%sum = fadd float %lhs, %rhs