mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-24 06:25:18 +00:00
Change tests from "opt %s" to "opt < %s" so that opt doesn't see the
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81537 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -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: opt %s -predsimplify -disable-output
|
||||
; RUN: opt < %s -predsimplify -disable-output
|
||||
|
||||
define void @safe_strcpy(i32 %size1) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
; RUN: opt < %s -predsimplify -disable-output
|
||||
|
||||
define void @gs_image_next() {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -S | grep br | grep return.i.bb8_crit_edge | grep false
|
||||
; RUN: opt < %s -predsimplify -S | 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: opt %s -predsimplify -disable-output
|
||||
; RUN: opt < %s -predsimplify -disable-output
|
||||
|
||||
define void @readMotionInfoFromNAL() {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
; RUN: opt < %s -predsimplify -disable-output
|
||||
|
||||
define i32 @test_wp_B_slice(i32 %select_method) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -disable-output
|
||||
; RUN: opt < %s -predsimplify -disable-output
|
||||
|
||||
define void @diff(i32 %N) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -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: opt %s -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: opt %s -predsimplify -disable-output
|
||||
; RUN: opt < %s -predsimplify -disable-output
|
||||
|
||||
define void @ercMarkCurrMBConcealed(i32 %comp) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -S | grep -v %c
|
||||
; RUN: opt < %s -predsimplify -S | grep -v %c
|
||||
define void @foo(i8* %X, i8* %Y) {
|
||||
entry:
|
||||
%A = load i8* %X
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -S | grep unreachable | count 2
|
||||
; RUN: opt < %s -predsimplify -S | 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: opt %s -predsimplify -verify
|
||||
; RUN: opt < %s -predsimplify -verify
|
||||
|
||||
define void @dgefa() {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -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: opt %s -predsimplify -simplifycfg -S | grep pass
|
||||
; RUN: opt < %s -predsimplify -simplifycfg -S | grep pass
|
||||
|
||||
define void @regtest(i32 %x) {
|
||||
entry:
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -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