mirror of
https://github.com/RPCSX/llvm.git
synced 2025-04-05 17:51:46 +00:00
For PR1319: Upgrade to new test harness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36086 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fb7653e3ee
commit
97e287ef8a
@ -16,6 +16,7 @@
|
|||||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=thumb | \
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=thumb | \
|
||||||
; RUN: grep sbc | wc -l | grep 1
|
; RUN: grep sbc | wc -l | grep 1
|
||||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=thumb | grep __muldi3
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=thumb | grep __muldi3
|
||||||
|
; END.
|
||||||
|
|
||||||
long %f1() {
|
long %f1() {
|
||||||
entry:
|
entry:
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc &&
|
|
||||||
; RUN: llvm-as < %s | llc | grep jmp | wc -l | grep 0
|
|
||||||
; PR 1200
|
; PR 1200
|
||||||
|
; RUN: llvm-as < %s | llc | not grep jmp
|
||||||
|
|
||||||
; ModuleID = '<stdin>'
|
; ModuleID = '<stdin>'
|
||||||
target datalayout = "e-p:32:32"
|
target datalayout = "e-p:32:32"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 | grep 'movl $1, %eax'
|
|
||||||
; PR1219
|
; PR1219
|
||||||
|
; RUN: llvm-as < %s | llc -march=x86 | grep {movl \$1, %eax}
|
||||||
|
|
||||||
define i32 @test(i1 %X) {
|
define i32 @test(i1 %X) {
|
||||||
old_entry1:
|
old_entry1:
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc &&
|
; RUN: llvm-as < %s | llc -march=x86 | grep add
|
||||||
; RUN: llvm-as < %s | llc -march=x86 | grep 'add' &&
|
; RUN: llvm-as < %s | llc -march=x86 | not grep adc
|
||||||
; RUN: llvm-as < %s | llc -march=x86 | not grep 'adc'
|
|
||||||
|
|
||||||
define i64 @test(i64 %A, i32 %B) {
|
define i64 @test(i64 %A, i32 %B) {
|
||||||
%tmp12 = zext i32 %B to i64 ; <i64> [#uses=1]
|
%tmp12 = zext i32 %B to i64 ; <i64> [#uses=1]
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
load_lib llvm-dg.exp
|
load_lib llvm.exp
|
||||||
|
|
||||||
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 | grep shrl.*31 &&
|
; RUN: llvm-as < %s | llc -march=x86 | grep {shrl.*31}
|
||||||
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | grep 'srwi r3, r3, 31' &&
|
; RUN: llvm-as < %s | llc -march=ppc32 -mtriple=powerpc-apple-darwin8 | \
|
||||||
; RUN: llvm-as < %s | llc -march=arm | grep 'mov r0, r0, lsr #31' &&
|
; RUN: grep {srwi r3, r3, 31}
|
||||||
; RUN: llvm-as < %s | llc -march=thumb | grep 'lsr r0, r0, #31'
|
; RUN: llvm-as < %s | llc -march=arm | grep {mov r0, r0, lsr #31}
|
||||||
|
; RUN: llvm-as < %s | llc -march=thumb | grep {lsr r0, r0, #31}
|
||||||
|
|
||||||
define i32 @test1(i32 %X) {
|
define i32 @test1(i32 %X) {
|
||||||
entry:
|
entry:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: llvm-as < %s | llc -march=x86 | grep 'movl $1' | wc -l | grep 1
|
|
||||||
; PR1296
|
; PR1296
|
||||||
|
; RUN: llvm-as < %s | llc -march=x86 | grep {movl \$1} | wc -l | grep 1
|
||||||
|
|
||||||
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
|
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
|
||||||
target triple = "i686-apple-darwin8"
|
target triple = "i686-apple-darwin8"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 &&
|
|
||||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | grep 'mov.*str1' | wc -l | grep 1
|
|
||||||
; PR925
|
; PR925
|
||||||
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86 | \
|
||||||
|
; RUN: grep mov.*str1 | wc -l | grep 1
|
||||||
|
|
||||||
target endian = little
|
target endian = little
|
||||||
target pointersize = 32
|
target pointersize = 32
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; this should turn into shladd
|
; this should turn into shladd
|
||||||
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ia64 | grep 'shladd'
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=ia64 | grep shladd
|
||||||
|
|
||||||
implementation ; Functions:
|
implementation ; Functions:
|
||||||
|
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
load_lib llvm-dg.exp
|
load_lib llvm.exp
|
||||||
|
|
||||||
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user