mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 22:24:54 +00:00
Change these tests to feed the assembly files to opt directly, instead
of using llvm-as, now that opt supports this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81226 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define fastcc void @_ov_splice(i32 %n1, i32 %n2, i32 %ch2) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define void @safe_strcpy(i32 %size1) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define void @gs_image_next() {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify | llvm-dis | grep br | grep return.i.bb8_crit_edge | grep false
|
||||
; RUN: opt %s -predsimplify | llvm-dis | grep br | grep return.i.bb8_crit_edge | grep false
|
||||
@str = external global [4 x i8] ; <[4 x i8]*> [#uses=1]
|
||||
|
||||
declare i32 @sprintf(i8*, i8*, ...)
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define void @readMotionInfoFromNAL() {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define i32 @test_wp_B_slice(i32 %select_method) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define void @diff(i32 %N) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
%struct.cube_struct = type { i32, i32, i32, i32*, i32*, i32*, i32*, i32*, i32*, i32*, i32**, i32**, i32*, i32*, i32, i32, i32*, i32, i32 }
|
||||
@cube = external global %struct.cube_struct ; <%struct.cube_struct*> [#uses=2]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
; END.
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
|
||||
define void @ercMarkCurrMBConcealed(i32 %comp) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify | llvm-dis | grep -v %c
|
||||
; RUN: opt %s -predsimplify | llvm-dis | grep -v %c
|
||||
define void @foo(i8* %X, i8* %Y) {
|
||||
entry:
|
||||
%A = load i8* %X
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify | llvm-dis | grep unreachable | count 2
|
||||
; RUN: opt %s -predsimplify | llvm-dis | grep unreachable | count 2
|
||||
; PR1683
|
||||
|
||||
@.str = internal constant [13 x i8] c"c36174a.adb\00\00" ; <[13 x i8]*> [#uses=1]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -verify
|
||||
; RUN: opt %s -predsimplify -verify
|
||||
|
||||
define void @dgefa() {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -verify
|
||||
; RUN: opt %s -predsimplify -verify
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
deplibs = [ "c", "crtend" ]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -simplifycfg | llvm-dis | grep pass
|
||||
; RUN: opt %s -predsimplify -simplifycfg | llvm-dis | grep pass
|
||||
|
||||
define void @regtest(i32 %x) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: llvm-as < %s | opt -predsimplify -disable-output
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
target datalayout = "e-p:32:32"
|
||||
target triple = "i686-pc-linux-gnu"
|
||||
|
||||
|
Reference in New Issue
Block a user