mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-22 23:24:59 +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 -anders-aa -argpromotion
|
||||
; RUN: opt < %s -anders-aa -argpromotion
|
||||
|
||||
declare void @llvm.gcroot(i8**, i8*)
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -deadargelim
|
||||
; RUN: opt < %s -deadargelim
|
||||
|
||||
declare void @llvm.gcroot(i8**, i8*)
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -inline -S | grep example
|
||||
; RUN: opt < %s -inline -S | grep example
|
||||
|
||||
%IntArray = type { i32, [0 x i32*] }
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
; RUN: opt %s -inline -S | grep sample
|
||||
; RUN: opt %s -inline -S | grep example
|
||||
; RUN: opt < %s -inline -S | grep sample
|
||||
; RUN: opt < %s -inline -S | grep example
|
||||
|
||||
%IntArray = type { i32, [0 x i32*] }
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -std-compile-opts | llc > %t
|
||||
; RUN: opt < %s -std-compile-opts | llc > %t
|
||||
; ModuleID = 'ld3.c'
|
||||
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-f128:64:128"
|
||||
target triple = "powerpc-apple-darwin8"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -instcombine | \
|
||||
; RUN: opt < %s -instcombine | \
|
||||
; RUN: llc -march=ppc32 -mcpu=g5 | not grep vperm
|
||||
; RUN: llc < %s -march=ppc32 -mcpu=g5 > %t
|
||||
; RUN: grep vsldoi %t | count 2
|
||||
|
@@ -1,5 +1,5 @@
|
||||
; RUN: opt %s -instcombine -S | grep 302245289961712575840256
|
||||
; RUN: opt %s -instcombine -S | grep K40018000000000000000
|
||||
; RUN: opt < %s -instcombine -S | grep 302245289961712575840256
|
||||
; RUN: opt < %s -instcombine -S | grep K40018000000000000000
|
||||
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-f80:128:128"
|
||||
target triple = "i686-apple-darwin9"
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -std-compile-opts | llc
|
||||
; RUN: opt < %s -std-compile-opts | llc
|
||||
; ModuleID = 'block12.c'
|
||||
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-f80:128:128"
|
||||
target triple = "i686-apple-darwin8"
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -std-compile-opts | llc > %t
|
||||
; RUN: opt < %s -std-compile-opts | llc > %t
|
||||
; RUN: grep 2147027116 %t | count 3
|
||||
; RUN: grep 2147228864 %t | count 3
|
||||
; RUN: grep 2146502828 %t | count 3
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -scalarrepl -instcombine | \
|
||||
; RUN: opt < %s -scalarrepl -instcombine | \
|
||||
; RUN: llc -march=x86 -mcpu=yonah | not grep sub.*esp
|
||||
|
||||
; This checks that various insert/extract idiom work without going to the
|
||||
|
Reference in New Issue
Block a user