mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Use opt -S instead of piping bitcode output through llvm-dis.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81257 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify | llvm-dis | 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,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis > %t
|
||||
; RUN: opt -predsimplify -instcombine -simplifycfg -S > %t
|
||||
; RUN: grep -v declare %t | not grep fail
|
||||
; RUN: grep -v declare %t | grep pass | count 3
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis | \
|
||||
; RUN: opt -predsimplify -instcombine -simplifycfg -S | \
|
||||
; RUN: grep -v declare | grep pass | count 2
|
||||
|
||||
define i32 @test(i32 %x, i32 %y) {
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify | llvm-dis | 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 | llvm-dis | 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,5 +1,5 @@
|
||||
; RUN: llvm-as < %s | \
|
||||
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis > %t
|
||||
; RUN: opt -predsimplify -instcombine -simplifycfg -S > %t
|
||||
; RUN: grep -v declare %t | not grep fail
|
||||
; RUN: grep -v declare %t | grep pass | count 4
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -predsimplify -simplifycfg | llvm-dis | grep pass
|
||||
; RUN: opt %s -predsimplify -simplifycfg -S | grep pass
|
||||
|
||||
define void @regtest(i32 %x) {
|
||||
entry:
|
||||
|
Reference in New Issue
Block a user