mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
Add explicit triples to these tests so that llc behaves as expected on
non-Apple hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38455 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b0954b1580
commit
2a69a04afa
@ -1,6 +1,11 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep cmpne | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep ldmhi | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
|
||||
; RUN: grep cmpne | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
|
||||
; RUN: grep ldmhi | wc -l | grep 1
|
||||
|
||||
define void @foo(i32 %X, i32 %Y) {
|
||||
entry:
|
||||
|
@ -1,7 +1,14 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep cmpeq | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep moveq | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep ldmeq | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
|
||||
; RUN: grep cmpeq | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
|
||||
; RUN: grep moveq | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
|
||||
; RUN: grep ldmeq | wc -l | grep 1
|
||||
; FIXME: Need post-ifcvt branch folding to get rid of the extra br at end of BB1.
|
||||
|
||||
%struct.quad_struct = type { i32, i32, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct*, %struct.quad_struct* }
|
||||
|
@ -1,5 +1,8 @@
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion
|
||||
; RUN: llvm-as < %s | llc -march=arm -enable-arm-if-conversion | grep ldmne | wc -l | grep 1
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: llc -march=arm -mtriple=arm-apple-darwin -enable-arm-if-conversion | \
|
||||
; RUN: grep ldmne | wc -l | grep 1
|
||||
|
||||
%struct.SString = type { i8*, i32, i32 }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user