ARM: Test r193381 a bit more thoroughly.
authorJim Grosbach <grosbach@apple.com>
Thu, 24 Oct 2013 23:11:05 +0000 (23:11 +0000)
committerJim Grosbach <grosbach@apple.com>
Thu, 24 Oct 2013 23:11:05 +0000 (23:11 +0000)
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

test/CodeGen/ARM/darwin-eabi.ll

index f0696b3bd0584f8137ef659989cfb7d835d09d8f..f2cde71dd496c33c77acb310779cc24158120f86 100644 (file)
@@ -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