aboutsummaryrefslogtreecommitdiff
path: root/test/Assembler/2002-08-19-BytecodeReader.llx
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-14 07:57:12 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-14 07:57:12 +0000
commit6e9bceea976a993dbc6a543c2135980df7616b97 (patch)
treef929dabf6d10ad6d73d324f711989b2ad40ddcbb /test/Assembler/2002-08-19-BytecodeReader.llx
parente8b7ccf0c9a06831266d690d0b10ead71e0a4ac5 (diff)
Remove llvm-upgrade
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47119 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2002-08-19-BytecodeReader.llx')
-rw-r--r--test/Assembler/2002-08-19-BytecodeReader.llx29
1 files changed, 12 insertions, 17 deletions
diff --git a/test/Assembler/2002-08-19-BytecodeReader.llx b/test/Assembler/2002-08-19-BytecodeReader.llx
index 01301b7ab0..e42cda0baa 100644
--- a/test/Assembler/2002-08-19-BytecodeReader.llx
+++ b/test/Assembler/2002-08-19-BytecodeReader.llx
@@ -1,22 +1,17 @@
-; Testcase that seems to break the bytecode reader. This comes from the
+; Testcase that seems to break the bytecode reader. This comes from the
; "crafty" spec benchmark.
;
-; RUN: llvm-upgrade < %s | llvm-as | opt -instcombine | llvm-dis | llvm-as
+; RUN: llvm-as < %s | opt -instcombine | llvm-dis | llvm-as
+
+%CHESS_POSITION = type { i32, i32 }
+@pawn_probes = external global i32 ; <i32*> [#uses=0]
+@pawn_hash_mask = external global i32 ; <i32*> [#uses=0]
+@search = external global %CHESS_POSITION ; <%CHESS_POSITION*> [#uses=2]
-%CHESS_POSITION = type { uint, int }
-
-%pawn_probes = uninitialized global int ; <int*> [#uses=1]
-%pawn_hash_mask = uninitialized global uint ; <uint*> [#uses=0]
-
-%search = uninitialized global %CHESS_POSITION ; <%CHESS_POSITION*> [#uses=6]
-
-implementation ; Functions:
-
-void %Evaluate() {
- %reg1321 = getelementptr %CHESS_POSITION* %search, uint 0, ubyte 1
- %reg114 = load int* %reg1321 ; <int> [#uses=0]
-
- %reg1801 = getelementptr %CHESS_POSITION* %search, uint 0, ubyte 0
- %reg182 = load uint* %reg1801 ; <uint> [#uses=1]
+define void @Evaluate() {
+ %reg1321 = getelementptr %CHESS_POSITION* @search, i64 0, i32 1 ; <i32*> [#uses=1]
+ %reg114 = load i32* %reg1321 ; <i32> [#uses=0]
+ %reg1801 = getelementptr %CHESS_POSITION* @search, i64 0, i32 0 ; <i32*> [#uses=1]
+ %reg182 = load i32* %reg1801 ; <i32> [#uses=0]
ret void
}