verify-uselistorder: Force -preserve-bc-use-list-order

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216022 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan P. N. Exon Smith 2014-08-19 21:08:27 +00:00
parent 1d58f989d4
commit 13f5c5896d
151 changed files with 160 additions and 151 deletions

View File

@ -54,6 +54,8 @@ typedef std::vector<UseListOrder> UseListOrderStack;
/// \brief Whether to preserve use-list ordering. /// \brief Whether to preserve use-list ordering.
bool shouldPreserveBitcodeUseListOrder(); bool shouldPreserveBitcodeUseListOrder();
bool shouldPreserveAssemblyUseListOrder(); bool shouldPreserveAssemblyUseListOrder();
void setPreserveBitcodeUseListOrder(bool ShouldPreserve);
void setPreserveAssemblyUseListOrder(bool ShouldPreserve);
} // end namespace llvm } // end namespace llvm

View File

@ -33,3 +33,11 @@ bool llvm::shouldPreserveBitcodeUseListOrder() {
bool llvm::shouldPreserveAssemblyUseListOrder() { bool llvm::shouldPreserveAssemblyUseListOrder() {
return PreserveAssemblyUseListOrder; return PreserveAssemblyUseListOrder;
} }
void llvm::setPreserveBitcodeUseListOrder(bool ShouldPreserve) {
PreserveBitcodeUseListOrder = ShouldPreserve;
}
void llvm::setPreserveAssemblyUseListOrder(bool ShouldPreserve) {
PreserveAssemblyUseListOrder = ShouldPreserve;
}

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Method arguments were being checked for collisions at the global scope before ; Method arguments were being checked for collisions at the global scope before
; the method object was created by the parser. Because of this, false ; the method object was created by the parser. Because of this, false

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Another name collision problem. Here the problem was that if a forward ; Another name collision problem. Here the problem was that if a forward
; declaration for a method was found, that this would cause spurious conflicts ; declaration for a method was found, that this would cause spurious conflicts

View File

@ -9,7 +9,7 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -constprop | \ ; RUN: llvm-as < %s | llvm-dis | llvm-as | opt -constprop | \
; RUN: llvm-dis > %t.2 ; RUN: llvm-dis > %t.2
; RUN: diff %t.1 %t.2 ; RUN: diff %t.1 %t.2
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define double @test() { define double @test() {
%tmp = fmul double 7.200000e+101, 0x427F4000 ; <double> [#uses=1] %tmp = fmul double 7.200000e+101, 0x427F4000 ; <double> [#uses=1]

View File

@ -1,7 +1,7 @@
; The output formater prints out 1.0e100 as Inf! ; The output formater prints out 1.0e100 as Inf!
; ;
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep 0x7FF0000000000000 ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | grep 0x7FF0000000000000
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define float @test() { define float @test() {
%tmp = fmul float 0x7FF0000000000000, 1.000000e+01 ; <float> [#uses=1] %tmp = fmul float 0x7FF0000000000000, 1.000000e+01 ; <float> [#uses=1]

View File

@ -7,7 +7,7 @@
; RUN: opt < %s -globaldce -S | \ ; RUN: opt < %s -globaldce -S | \
; RUN: not grep constant ; RUN: not grep constant
; ;
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@v1 = internal constant i32 5 @v1 = internal constant i32 5

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; It looks like the assembler is not forward resolving the function declaraion ; It looks like the assembler is not forward resolving the function declaraion
; correctly. ; correctly.

View File

@ -1,7 +1,7 @@
; Test that opaque types are preserved correctly ; Test that opaque types are preserved correctly
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; ;
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%Ty = type opaque %Ty = type opaque

View File

@ -1,6 +1,6 @@
; Test double quotes in strings work correctly! ; Test double quotes in strings work correctly!
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; ;
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@str = internal global [6 x i8] c"\22foo\22\00" ; <[6 x i8]*> [#uses=0] @str = internal global [6 x i8] c"\22foo\22\00" ; <[6 x i8]*> [#uses=0]

View File

@ -2,7 +2,7 @@
; the right thing. ; the right thing.
; ;
; RUN: llvm-as < %s | llvm-dis | llvm-as ; RUN: llvm-as < %s | llvm-dis | llvm-as
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
declare void (i32)* @foo() declare void (i32)* @foo()

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as ; RUN: llvm-as < %s | llvm-dis | llvm-as
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Make sure that \\ works in a string initializer ; Make sure that \\ works in a string initializer
@Slashtest = internal global [8 x i8] c"\5Cbegin{\00" @Slashtest = internal global [8 x i8] c"\5Cbegin{\00"

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @test(i32 %X) { define void @test(i32 %X) {
call void @test( i32 6 ) call void @test( i32 6 )

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@.LC0 = internal global [12 x i8] c"hello world\00" ; <[12 x i8]*> [#uses=1] @.LC0 = internal global [12 x i8] c"hello world\00" ; <[12 x i8]*> [#uses=1]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@.LC0 = internal global [12 x i8] c"hello world\00" ; <[12 x i8]*> [#uses=1] @.LC0 = internal global [12 x i8] c"hello world\00" ; <[12 x i8]*> [#uses=1]

View File

@ -9,7 +9,7 @@
; around! ; around!
; ;
; RUN: llvm-as < %s | llvm-dis | llvm-as ; RUN: llvm-as < %s | llvm-dis | llvm-as
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@.LC0 = internal global [4 x i8] c"foo\00" ; <[4 x i8]*> [#uses=1] @.LC0 = internal global [4 x i8] c"foo\00" ; <[4 x i8]*> [#uses=1]
@X = global i8* null ; <i8**> [#uses=0] @X = global i8* null ; <i8**> [#uses=0]

View File

@ -2,7 +2,7 @@
; "crafty" spec benchmark. ; "crafty" spec benchmark.
; ;
; RUN: opt < %s -instcombine | llvm-dis ; RUN: opt < %s -instcombine | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%CHESS_POSITION = type { i32, i32 } %CHESS_POSITION = type { i32, i32 }
@pawn_probes = external global i32 ; <i32*> [#uses=0] @pawn_probes = external global i32 ; <i32*> [#uses=0]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Dominance relationships is not calculated correctly for unreachable blocks, ; Dominance relationships is not calculated correctly for unreachable blocks,
; which causes the verifier to barf on this input. ; which causes the verifier to barf on this input.

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; This testcase comes from the following really simple c file: ; This testcase comes from the following really simple c file:
;; int foo[30000] ;; int foo[30000]
;;; We should not be soo slow for such a simple case! ;;; We should not be soo slow for such a simple case!

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%Domain = type { %Domain**, %Domain* } %Domain = type { %Domain**, %Domain* }
@D = global %Domain zeroinitializer ; <%Domain*> [#uses=0] @D = global %Domain zeroinitializer ; <%Domain*> [#uses=0]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@X = external global i32* @X = external global i32*
@X1 = external global %T* @X1 = external global %T*

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@spell_order = global [4 x i8] c"\FF\00\F7\00" @spell_order = global [4 x i8] c"\FF\00\F7\00"

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; There should be absolutely no problem with this testcase. ; There should be absolutely no problem with this testcase.
define i32 @test(i32 %arg1, i32 %arg2) { define i32 @test(i32 %arg1, i32 %arg2) {

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @test() { define void @test() {
%tmp.123 = trunc i64 0 to i32 ; <i32> [#uses=0] %tmp.123 = trunc i64 0 to i32 ; <i32> [#uses=0]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep -- -2147483648 ; RUN: llvm-as < %s | llvm-dis | grep -- -2147483648
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i32 @foo() { define i32 @foo() {
ret i32 -2147483648 ret i32 -2147483648

View File

@ -1,7 +1,7 @@
; This bug was caused by two CPR's existing for the same global variable, ; This bug was caused by two CPR's existing for the same global variable,
; colliding in the Module level CPR map. ; colliding in the Module level CPR map.
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @test() { define void @test() {
call void (...)* bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* null, i32 0 ) call void (...)* bitcast (void (i16*, i32)* @AddString to void (...)*)( i16* null, i32 0 )

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Check minimal switch statement ; Check minimal switch statement

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Test that shift instructions can be used in constant expressions. ; Test that shift instructions can be used in constant expressions.
global i32 3670016 global i32 3670016

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; The old C front-end never generated empty structures, now the new one ; The old C front-end never generated empty structures, now the new one
; can. For some reason we never handled them in the parser. Weird. ; can. For some reason we never handled them in the parser. Weird.

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -instcombine -simplifycfg -S | not grep br ; RUN: opt < %s -instcombine -simplifycfg -S | not grep br
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2] @.str_1 = internal constant [6 x i8] c"_Bool\00" ; <[6 x i8]*> [#uses=2]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | not grep getelementptr ; RUN: llvm-as < %s | llvm-dis | not grep getelementptr
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@A = external global { float } ; <{ float }*> [#uses=2] @A = external global { float } ; <{ float }*> [#uses=2]
global i32* bitcast ({ float }* @A to i32*) ; <i32**>:0 [#uses=0] global i32* bitcast ({ float }* @A to i32*) ; <i32**>:0 [#uses=0]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i32 @test() { define i32 @test() {
ret i32 ashr (i32 ptrtoint (i32 ()* @test to i32), i32 2) ret i32 ashr (i32 ptrtoint (i32 ()* @test to i32), i32 2)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | not grep " bitcast (" ; RUN: llvm-as < %s | llvm-dis | not grep " bitcast ("
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@.Base64_1 = external constant [4 x i8] ; <[4 x i8]*> [#uses=1] @.Base64_1 = external constant [4 x i8] ; <[4 x i8]*> [#uses=1]

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llvm-dis | \ ; RUN: llvm-as < %s | llvm-dis | \
; RUN: not grep "getelementptr.*getelementptr" ; RUN: not grep "getelementptr.*getelementptr"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%struct.TTriangleItem = type { i8*, i8*, [3 x %struct.TUVVertex] } %struct.TTriangleItem = type { i8*, i8*, [3 x %struct.TUVVertex] }
%struct.TUVVertex = type { i16, i16, i16, i16 } %struct.TUVVertex = type { i16, i16, i16, i16 }

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep 9223372036854775808 ; RUN: llvm-as < %s | llvm-dis | grep 9223372036854775808
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
global i64 -9223372036854775808 global i64 -9223372036854775808

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep -- -0.0 ; RUN: llvm-as < %s | llvm-dis | grep -- -0.0
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
global double 0x8000000000000000 global double 0x8000000000000000
global float -0.0 global float -0.0

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; %inc2 uses it's own value, but that's ok, as it's unreachable! ; %inc2 uses it's own value, but that's ok, as it's unreachable!

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | not grep ptrtoint ; RUN: llvm-as < %s | llvm-dis | not grep ptrtoint
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; All of these should be eliminable ; All of these should be eliminable

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i32* @t1({ float, i32 }* %X) { define i32* @t1({ float, i32 }* %X) {
%W = getelementptr { float, i32 }* %X, i32 20, i32 1 ; <i32*> [#uses=0] %W = getelementptr { float, i32 }* %X, i32 20, i32 1 ; <i32*> [#uses=0]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s > /dev/null ; RUN: llvm-as < %s > /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @t() { define void @t() {
entry: entry:

View File

@ -1,6 +1,6 @@
;; The bytecode writer was trying to treat undef values as ConstantArray's when ;; The bytecode writer was trying to treat undef values as ConstantArray's when
;; they looked like strings. ;; they looked like strings.
;; RUN: llvm-as %s -o /dev/null ;; RUN: llvm-as %s -o /dev/null
;; RUN: verify-uselistorder %s -preserve-bc-use-list-order ;; RUN: verify-uselistorder %s
@G = internal global [8 x i8] undef @G = internal global [8 x i8] undef

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep 1.0 ; RUN: llvm-as < %s | llvm-dis | grep 1.0
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define double @test() { define double @test() {
ret double 1.0 ;; This should not require hex notation ret double 1.0 ;; This should not require hex notation

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @test() { define void @test() {
call {i32} @foo() call {i32} @foo()

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null ; RUN: llvm-as < %s | llvm-dis | llvm-as > /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%t = type opaque %t = type opaque
@x = global %t undef @x = global %t undef

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s > /dev/null ; RUN: llvm-as < %s > /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define <4 x i32> @foo() { define <4 x i32> @foo() {
ret <4 x i32> zeroinitializer ret <4 x i32> zeroinitializer

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep bitcast ; RUN: llvm-as < %s | llvm-dis | grep bitcast
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i1 @main(i32 %X) { define i1 @main(i32 %X) {
%res = bitcast i1 true to i1 %res = bitcast i1 true to i1

View File

@ -1,6 +1,6 @@
; Test Case for PR1080 ; Test Case for PR1080
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@str = internal constant [4 x i8] c"-ga\00" ; <[4 x i8]*> [#uses=2] @str = internal constant [4 x i8] c"-ga\00" ; <[4 x i8]*> [#uses=2]

View File

@ -1,6 +1,6 @@
; Test whether negative values > 64 bits retain their negativeness. ; Test whether negative values > 64 bits retain their negativeness.
; RUN: llvm-as < %s | llvm-dis | grep "add i65.*, -1" ; RUN: llvm-as < %s | llvm-dis | grep "add i65.*, -1"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i65 @testConsts(i65 %N) { define i65 @testConsts(i65 %N) {
%a = add i65 %N, -1 %a = add i65 %N, -1

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep "align 1024" ; RUN: llvm-as < %s | llvm-dis | grep "align 1024"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i32 @test(i32* %arg) { define i32 @test(i32* %arg) {
entry: entry:

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep "align 1024" ; RUN: llvm-as < %s | llvm-dis | grep "align 1024"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @test(i32* %arg) { define void @test(i32* %arg) {
entry: entry:

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep "icmp.*test_weak.*null" ; RUN: llvm-as < %s | llvm-dis | grep "icmp.*test_weak.*null"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR1358 ; PR1358
@G = global i1 icmp ne (i32 (...)* @test_weak, i32 (...)* null) @G = global i1 icmp ne (i32 (...)* @test_weak, i32 (...)* null)

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
target datalayout = "e-p:64:64:64-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" target datalayout = "e-p:64:64:64-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"
target triple = "x86_64-apple-darwin8" target triple = "x86_64-apple-darwin8"
%struct.bar = type { i32 } %struct.bar = type { i32 }

View File

@ -1,6 +1,6 @@
; PR1553 ; PR1553
; RUN: llvm-as < %s > /dev/null ; RUN: llvm-as < %s > /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @bar() { define void @bar() {
%t = call i8 @foo( i8 10 ) %t = call i8 @foo( i8 10 )
zext i8 %t to i32 zext i8 %t to i32

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR1645 ; PR1645
@__gthread_active_ptr.5335 = internal constant i8* bitcast (i32 (i32)* @__gthrw_pthread_cancel to i8*) @__gthread_active_ptr.5335 = internal constant i8* bitcast (i32 (i32)* @__gthrw_pthread_cancel to i8*)

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llvm-dis | grep "@f.*gc.*shadowstack" ; RUN: llvm-as < %s | llvm-dis | grep "@f.*gc.*shadowstack"
; RUN: llvm-as < %s | llvm-dis | grep "@g.*gc.*java" ; RUN: llvm-as < %s | llvm-dis | grep "@g.*gc.*java"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @f() gc "shadowstack" { define void @f() gc "shadowstack" {
entry: entry:

View File

@ -3,7 +3,7 @@
; RUN: llvm-as < %s | llvm-dis | grep "addrspace(66)" | count 2 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(66)" | count 2
; RUN: llvm-as < %s | llvm-dis | grep "addrspace(11)" | count 6 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(11)" | count 6
; RUN: llvm-as < %s | llvm-dis | grep "addrspace(22)" | count 5 ; RUN: llvm-as < %s | llvm-dis | grep "addrspace(22)" | count 5
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%struct.mystruct = type { i32, i32 addrspace(33)*, i32, i32 addrspace(33)* } %struct.mystruct = type { i32, i32 addrspace(33)*, i32, i32 addrspace(33)* }
@input = weak addrspace(42) global %struct.mystruct zeroinitializer ; <%struct.mystruct addrspace(42)*> [#uses=1] @input = weak addrspace(42) global %struct.mystruct zeroinitializer ; <%struct.mystruct addrspace(42)*> [#uses=1]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | grep byval ; RUN: llvm-as < %s | llvm-dis | grep byval
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%struct = type { } %struct = type { }

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR2538 ; PR2538
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:32:32" 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:32:32"
target triple = "i686-pc-linux-gnu" target triple = "i686-pc-linux-gnu"

View File

@ -1,6 +1,6 @@
; Test function attributes ; Test function attributes
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: define void @fn1() #0 ; CHECK: define void @fn1() #0
define void @fn1() alwaysinline { define void @fn1() alwaysinline {

View File

@ -1,7 +1,7 @@
; Test return attributes ; Test return attributes
; RUN: llvm-as < %s | llvm-dis | grep "define inreg i32" ; RUN: llvm-as < %s | llvm-dis | grep "define inreg i32"
; RUN: llvm-as < %s | llvm-dis | grep "call inreg i32" ; RUN: llvm-as < %s | llvm-dis | grep "call inreg i32"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define inreg i32 @fn1() { define inreg i32 @fn1() {
ret i32 0 ret i32 0

View File

@ -1,4 +1,4 @@
; RUN: llvm-as < %s | llvm-dis | grep "quote" ; RUN: llvm-as < %s | llvm-dis | grep "quote"
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@"a\22quote" = global i32 0 @"a\22quote" = global i32 0

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR3372 ; PR3372
@X = global i32* @0 @X = global i32* @0

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @foo() { define void @foo() {

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -strip -S | llvm-as | llvm-dis ; RUN: opt < %s -strip -S | llvm-as | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Stripping the name from A should not break references to it. ; Stripping the name from A should not break references to it.
%A = type opaque %A = type opaque

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR3876 ; PR3876
@gdtr = external global [0 x i8] @gdtr = external global [0 x i8]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@foo = global i32 0 @foo = global i32 0
@bar = constant i32* getelementptr(i32* @foo) @bar = constant i32* getelementptr(i32* @foo)

View File

@ -1,5 +1,5 @@
; RUN: opt -std-compile-opts < %s | llvm-dis | not grep badref ; RUN: opt -std-compile-opts < %s | llvm-dis | not grep badref
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
target triple = "x86_64-apple-darwin10.2" target triple = "x86_64-apple-darwin10.2"

View File

@ -2,7 +2,7 @@
; situations ; situations
; RUN: llvm-as < %s | llvm-dis | not grep "(" ; RUN: llvm-as < %s | llvm-dis | not grep "("
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@A = global i64 0 @A = global i64 0

View File

@ -1,7 +1,7 @@
; This test checks to make sure that constant exprs fold in some simple situations ; This test checks to make sure that constant exprs fold in some simple situations
; RUN: llvm-as < %s | llvm-dis | not grep cast ; RUN: llvm-as < %s | llvm-dis | not grep cast
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@A = global i32* bitcast (i8* null to i32*) ; Cast null -> fold @A = global i32* bitcast (i8* null to i32*) ; Cast null -> fold
@B = global i32** bitcast (i32** @A to i32**) ; Cast to same type -> fold @B = global i32** bitcast (i32** @A to i32**) ; Cast to same type -> fold

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR18319 ; PR18319
define void @function() { define void @function() {

View File

@ -2,7 +2,7 @@
; situations ; situations
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Even give it a datalayout, to tempt folding as much as possible. ; Even give it a datalayout, to tempt folding as much as possible.
target datalayout = "p:32:32" target datalayout = "p:32:32"

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s ; RUN: llvm-as < %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%struct.S_102 = type { float, float } %struct.S_102 = type { float, float }

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Test that global aliases are allowed to be constant addrspacecast ; Test that global aliases are allowed to be constant addrspacecast

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: @foo ; CHECK: @foo
; CHECK: store { i32, i32 } { i32 7, i32 9 }, { i32, i32 }* %x ; CHECK: store { i32, i32 } { i32 7, i32 9 }, { i32, i32 }* %x

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis ; RUN: llvm-as < %s | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define { i32 } @foob() nounwind { define { i32 } @foob() nounwind {
ret {i32}{ i32 0 } ret {i32}{ i32 0 }

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@A = global i1 0, align 536870912 @A = global i1 0, align 536870912

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
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 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 = "i386-apple-darwin10.0" target triple = "i386-apple-darwin10.0"

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR3611 ; PR3611
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128" target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128"

View File

@ -1,5 +1,5 @@
; RUN: opt < %s | opt -S | FileCheck %s ; RUN: opt < %s | opt -S | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Basic smoke test for atomic operations. ; Basic smoke test for atomic operations.
define void @f(i32* %x) { define void @f(i32* %x) {

View File

@ -1,6 +1,6 @@
; Test to make sure intrinsics are automatically upgraded. ; Test to make sure intrinsics are automatically upgraded.
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
declare i8 @llvm.ctlz.i8(i8) declare i8 @llvm.ctlz.i8(i8)
declare i16 @llvm.ctlz.i16(i16) declare i16 @llvm.ctlz.i16(i16)

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s > %t ; RUN: llvm-as < %s > %t
; RUN: llvm-nm %t | FileCheck %s ; RUN: llvm-nm %t | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Test for isBitcodeFile, llvm-nm must read from a file for this test. ; Test for isBitcodeFile, llvm-nm must read from a file for this test.
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 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.2.2" target triple = "i686-apple-darwin9.2.2"

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llvm-dis -show-annotations | FileCheck -check-prefix=ANNOT %s ; RUN: llvm-as < %s | llvm-dis -show-annotations | FileCheck -check-prefix=ANNOT %s
; RUN: llvm-as < %s | llvm-dis | FileCheck -check-prefix=BARE %s ; RUN: llvm-as < %s | llvm-dis | FileCheck -check-prefix=BARE %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; The bare version of this file should not have any #uses lines. ; The bare version of this file should not have any #uses lines.
; BARE: @B = ; BARE: @B =

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: @G = externally_initialized global i32 0 ; CHECK: @G = externally_initialized global i32 0

View File

@ -1,6 +1,6 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: opt -S < %s | FileCheck %s ; RUN: opt -S < %s | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@addr = external global i64 @addr = external global i64
@select = external global i1 @select = external global i1

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
@addr = external global i64 @addr = external global i64

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @Foo(i32 %a, i32 %b) { define void @Foo(i32 %a, i32 %b) {
entry: entry:

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Verify that over-indexed getelementptrs are folded. ; Verify that over-indexed getelementptrs are folded.
@A = external global [2 x [3 x [5 x [7 x i32]]]] @A = external global [2 x [3 x [5 x [7 x i32]]]]

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Make sure the address space of forward decls is preserved ; Make sure the address space of forward decls is preserved

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -O3 -S | FileCheck %s ; RUN: opt < %s -O3 -S | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Testing half constant propagation. ; Testing half constant propagation.
define half @abc() nounwind { define half @abc() nounwind {

View File

@ -1,5 +1,5 @@
; RUN: opt < %s -O3 -S | FileCheck %s ; RUN: opt < %s -O3 -S | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Testing half to float conversion. ; Testing half to float conversion.
define float @abc() nounwind { define float @abc() nounwind {

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; Basic smoke test for half type. ; Basic smoke test for half type.
; CHECK: define half @halftest ; CHECK: define half @halftest

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: define [18446744073709551615 x i8]* @foo() { ; CHECK: define [18446744073709551615 x i8]* @foo() {
; CHECK: ret [18446744073709551615 x i8]* null ; CHECK: ret [18446744073709551615 x i8]* null

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define void @a() { define void @a() {
entry: entry:

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: @foo ; CHECK: @foo
; CHECK-NEXT: load ; CHECK-NEXT: load

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: @test ; CHECK: @test
; CHECK: ret void, !bar !1, !foo !0 ; CHECK: ret void, !bar !1, !foo !0

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
!0 = metadata !{metadata !"zero"} !0 = metadata !{metadata !"zero"}
!1 = metadata !{metadata !"one"} !1 = metadata !{metadata !"one"}

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; PR2480 ; PR2480
define i32 @test(i32 %X) nounwind { define i32 @test(i32 %X) nounwind {

View File

@ -1,5 +1,5 @@
; RUN: llvm-as %s -o /dev/null ; RUN: llvm-as %s -o /dev/null
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
define i32 @test(i1 %C, i32 %V1, i32 %V2) { define i32 @test(i1 %C, i32 %V1, i32 %V2) {

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | llvm-as | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
; CHECK: @a = thread_local global i32 0 ; CHECK: @a = thread_local global i32 0
; CHECK: @b = thread_local(localdynamic) global i32 0 ; CHECK: @b = thread_local(localdynamic) global i32 0

View File

@ -1,5 +1,5 @@
; RUN: llvm-as < %s | llvm-dis | FileCheck %s ; RUN: llvm-as < %s | llvm-dis | FileCheck %s
; RUN: verify-uselistorder %s -preserve-bc-use-list-order ; RUN: verify-uselistorder %s
%struct.foobar = type { i32 } %struct.foobar = type { i32 }

Some files were not shown because too many files have changed in this diff Show More