forked from OSchip/llvm-project
These tests are looking for library function names that
appear to differ on Linux. Try to make them pass on Linux. Would be good for a Linux person to review this. llvm-svn: 119572
This commit is contained in:
parent
d09f711dc2
commit
0659c8f157
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=arm | FileCheck %s -check-prefix=CHECK-ARM
|
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s -check-prefix=CHECK-ARM
|
||||||
|
|
||||||
define i32 @f1(i32 %a, i32 %b) {
|
define i32 @f1(i32 %a, i32 %b) {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=arm | grep moveq
|
; RUN: llc < %s -mtriple=arm-apple-darwin | grep moveq
|
||||||
; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s
|
; RUN: llc < %s -mtriple=armv7-apple-darwin -mcpu=cortex-a8 | FileCheck %s
|
||||||
|
|
||||||
define i32 @f7(float %a, float %b) {
|
define i32 @f7(float %a, float %b) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s --check-prefix=CHECK-VFP
|
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s --check-prefix=CHECK-VFP
|
||||||
; RUN: llc < %s -march=arm | FileCheck %s
|
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s
|
||||||
|
|
||||||
define float @f1(double %x) {
|
define float @f1(double %x) {
|
||||||
;CHECK-VFP: f1:
|
;CHECK-VFP: f1:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=arm | FileCheck %s
|
; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s
|
||||||
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s --check-prefix=CHECK-VFP
|
; RUN: llc < %s -march=arm -mattr=+vfp2 | FileCheck %s --check-prefix=CHECK-VFP
|
||||||
; RUN: llc < %s -mattr=+neon,+thumb2 -mtriple=thumbv7-apple-darwin | FileCheck %s --check-prefix=CHECK-NEON
|
; RUN: llc < %s -mattr=+neon,+thumb2 -mtriple=thumbv7-apple-darwin | FileCheck %s --check-prefix=CHECK-NEON
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
; RUN: grep adc | count 1
|
; RUN: grep adc | count 1
|
||||||
; RUN: llc < %s -march=thumb | \
|
; RUN: llc < %s -march=thumb | \
|
||||||
; RUN: grep sbc | count 1
|
; RUN: grep sbc | count 1
|
||||||
; RUN: llc < %s -march=thumb | grep __muldi3
|
; RUN: llc < %s -mtriple=thumb-apple-darwin | grep __muldi3
|
||||||
|
|
||||||
define i64 @f1() {
|
define i64 @f1() {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
; RUN: llc < %s -march=thumb | grep ble | count 1
|
; RUN: llc < %s -march=thumb | grep ble | count 1
|
||||||
; RUN: llc < %s -march=thumb | grep bls | count 1
|
; RUN: llc < %s -march=thumb | grep bls | count 1
|
||||||
; RUN: llc < %s -march=thumb | grep bhi | count 1
|
; RUN: llc < %s -march=thumb | grep bhi | count 1
|
||||||
; RUN: llc < %s -march=thumb | grep __ltdf2
|
; RUN: llc < %s -mtriple=thumb-apple-darwin | grep __ltdf2
|
||||||
|
|
||||||
define i32 @f1(i32 %a.s) {
|
define i32 @f1(i32 %a.s) {
|
||||||
entry:
|
entry:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
; RUN: llc < %s -march=thumb -mattr=+thumb2 \
|
; RUN: llc < %s -mtriple=thumb-apple-darwin -mattr=+thumb2 \
|
||||||
; RUN: | FileCheck %s -check-prefix=CHECK-THUMB
|
; RUN: | FileCheck %s -check-prefix=CHECK-THUMB
|
||||||
; RUN: llc < %s -march=thumb -mcpu=cortex-m3 -mattr=+thumb2 \
|
; RUN: llc < %s -march=thumb -mcpu=cortex-m3 -mattr=+thumb2 \
|
||||||
; RUN: | FileCheck %s -check-prefix=CHECK-THUMBV7M
|
; RUN: | FileCheck %s -check-prefix=CHECK-THUMBV7M
|
||||||
|
|
Loading…
Reference in New Issue