[llvm] r193382 - ARM: Test r193381 a bit more thoroughly.

Jim Grosbach grosbach at apple.com
Thu Oct 24 16:11:06 PDT 2013


Author: grosbach
Date: Thu Oct 24 18:11:05 2013
New Revision: 193382

URL: http://llvm.org/viewvc/llvm-project?rev=193382&view=rev
Log:
ARM: Test r193381 a bit more thoroughly.

Make sure we're predicating right based on CPU even if the triple is 'wrong'.

Modified:
    llvm/trunk/test/CodeGen/ARM/darwin-eabi.ll

Modified: llvm/trunk/test/CodeGen/ARM/darwin-eabi.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/ARM/darwin-eabi.ll?rev=193382&r1=193381&r2=193382&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/ARM/darwin-eabi.ll (original)
+++ llvm/trunk/test/CodeGen/ARM/darwin-eabi.ll Thu Oct 24 18:11:05 2013
@@ -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





More information about the llvm-commits mailing list