mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +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:
@@ -5,7 +5,7 @@
|
||||
; of the bug that was causing the Olden Health benchmark to output incorrect
|
||||
; results!
|
||||
;
|
||||
; RUN: opt %s -constprop | llvm-dis > %t.1
|
||||
; RUN: opt -constprop -S > %t.1 < %s
|
||||
; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -constprop | \
|
||||
; RUN: llvm-dis > %t.2
|
||||
; RUN: diff %t.1 %t.2
|
||||
|
@@ -4,7 +4,7 @@
|
||||
; Check by running globaldce, which will remove the constant if there are
|
||||
; no references to it!
|
||||
;
|
||||
; RUN: opt %s -globaldce | llvm-dis | \
|
||||
; RUN: opt %s -globaldce -S | \
|
||||
; RUN: not grep constant
|
||||
;
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
; Testcase that seems to break the bytecode reader. This comes from the
|
||||
; "crafty" spec benchmark.
|
||||
;
|
||||
; RUN: opt %s -instcombine | llvm-dis | llvm-as
|
||||
; RUN: opt %s -instcombine -S | llvm-as
|
||||
|
||||
%CHESS_POSITION = type { i32, i32 }
|
||||
@pawn_probes = external global i32 ; <i32*> [#uses=0]
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -instcombine -simplifycfg | llvm-dis | not grep br
|
||||
; RUN: opt %s -instcombine -simplifycfg -S | not grep br
|
||||
|
||||
@.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2]
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -verify | llvm-dis | llvm-as -disable-output
|
||||
; RUN: opt %s -verify -S | llvm-as -disable-output
|
||||
|
||||
define {i32, i8} @foo(i32 %p) {
|
||||
ret i32 1, i8 2
|
||||
|
@@ -1,4 +1,4 @@
|
||||
; RUN: opt %s -strip | llvm-dis | llvm-as | llvm-dis
|
||||
; RUN: opt %s -strip -S | llvm-as | llvm-dis
|
||||
|
||||
; Stripping the name from A should not break references to it.
|
||||
%A = type opaque
|
||||
|
Reference in New Issue
Block a user