summaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2008-02-21 07:42:26 +0000
committerTanya Lattner <tonic@nondot.org>2008-02-21 07:42:26 +0000
commit33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e (patch)
treec8a69f1be3db80d136ec9dcc8e41d9d5affd35ad /test/CodeGen/X86/2006-10-12-CycleInDAG.ll
parent7c1687c196e8dc89a4722e0463965f0b0f5f399c (diff)
downloadllvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.gz
llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.bz2
llvm-33eefffb2b25b5f4a313f08fa7c57ddfcbccf36e.tar.xz
Remove llvm-upgrade and update tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47432 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86/2006-10-12-CycleInDAG.ll')
-rw-r--r--test/CodeGen/X86/2006-10-12-CycleInDAG.ll46
1 files changed, 23 insertions, 23 deletions
diff --git a/test/CodeGen/X86/2006-10-12-CycleInDAG.ll b/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
index b96ec98fcc..31eb070e85 100644
--- a/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
+++ b/test/CodeGen/X86/2006-10-12-CycleInDAG.ll
@@ -1,41 +1,41 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=x86
+; RUN: llvm-as < %s | llc -march=x86
%struct.function = type opaque
%struct.lang_decl = type opaque
- %struct.location_t = type { sbyte*, int }
+ %struct.location_t = type { i8*, i32 }
%struct.rtx_def = type opaque
- %struct.tree_common = type { %struct.tree_node*, %struct.tree_node*, %union.tree_ann_d*, ubyte, ubyte, ubyte, ubyte, ubyte }
- %struct.tree_decl = type { %struct.tree_common, %struct.location_t, uint, %struct.tree_node*, ubyte, ubyte, ubyte, ubyte, ubyte, ubyte, ubyte, ubyte, uint, %struct.tree_decl_u1, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.rtx_def*, int, %struct.tree_decl_u2, %struct.tree_node*, %struct.tree_node*, long, %struct.lang_decl* }
- %struct.tree_decl_u1 = type { long }
+ %struct.tree_common = type { %struct.tree_node*, %struct.tree_node*, %union.tree_ann_d*, i8, i8, i8, i8, i8 }
+ %struct.tree_decl = type { %struct.tree_common, %struct.location_t, i32, %struct.tree_node*, i8, i8, i8, i8, i8, i8, i8, i8, i32, %struct.tree_decl_u1, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.tree_node*, %struct.rtx_def*, i32, %struct.tree_decl_u2, %struct.tree_node*, %struct.tree_node*, i64, %struct.lang_decl* }
+ %struct.tree_decl_u1 = type { i64 }
%struct.tree_decl_u2 = type { %struct.function* }
%struct.tree_node = type { %struct.tree_decl }
%union.tree_ann_d = type opaque
-void %check_format_arg() {
- br bool false, label %cond_next196, label %bb12.preheader
+define void @check_format_arg() {
+ br i1 false, label %cond_next196, label %bb12.preheader
-bb12.preheader:
+bb12.preheader: ; preds = %0
ret void
-cond_next196:
- br bool false, label %cond_next330, label %cond_true304
+cond_next196: ; preds = %0
+ br i1 false, label %cond_next330, label %cond_true304
-cond_true304:
+cond_true304: ; preds = %cond_next196
ret void
-cond_next330:
- br bool false, label %cond_next472, label %bb441
+cond_next330: ; preds = %cond_next196
+ br i1 false, label %cond_next472, label %bb441
-bb441:
+bb441: ; preds = %cond_next330
ret void
-cond_next472:
- %tmp490 = load %struct.tree_node** null
- %tmp492 = getelementptr %struct.tree_node* %tmp490, int 0, uint 0, uint 0, uint 3
- %tmp492 = cast ubyte* %tmp492 to uint*
- %tmp493 = load uint* %tmp492
- %tmp495 = cast uint %tmp493 to ubyte
- %tmp496 = seteq ubyte %tmp495, 11
- %tmp496 = cast bool %tmp496 to sbyte
- store sbyte %tmp496, sbyte* null
+cond_next472: ; preds = %cond_next330
+ %tmp490 = load %struct.tree_node** null ; <%struct.tree_node*> [#uses=1]
+ %tmp492 = getelementptr %struct.tree_node* %tmp490, i32 0, i32 0, i32 0, i32 3 ; <i8*> [#uses=1]
+ %tmp492.upgrd.1 = bitcast i8* %tmp492 to i32* ; <i32*> [#uses=1]
+ %tmp493 = load i32* %tmp492.upgrd.1 ; <i32> [#uses=1]
+ %tmp495 = trunc i32 %tmp493 to i8 ; <i8> [#uses=1]
+ %tmp496 = icmp eq i8 %tmp495, 11 ; <i1> [#uses=1]
+ %tmp496.upgrd.2 = zext i1 %tmp496 to i8 ; <i8> [#uses=1]
+ store i8 %tmp496.upgrd.2, i8* null
ret void
}