llvm.org GIT mirror llvm / d0abb7a
new testcase that used to crash the ppc fe. It could effect any simpleisel that is not careful, so I'm checking it into the generic tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21190 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 15 years ago
1 changed file(s) with 21 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: llvm-as < %s | llc
1 %struct.TypHeader = type { uint, %struct.TypHeader**, [3 x sbyte], ubyte }
2 %.str_67 = external global [4 x sbyte] ; <[4 x sbyte]*> [#uses=1]
3 %.str_87 = external global [17 x sbyte] ; <[17 x sbyte]*> [#uses=1]
4
5 implementation ; Functions:
6
7 void %PrBinop() {
8 entry:
9 br bool false, label %cond_true, label %else.0
10
11 cond_true: ; preds = %entry
12 br label %else.0
13
14 else.0:
15 %tmp.167.1 = phi int [ cast ([17 x sbyte]* %.str_87 to int), %entry ], [ 0, %cond_true ]
16 call void %Pr( sbyte* getelementptr ([4 x sbyte]* %.str_67, int 0, int 0), int 0, int 0 )
17 ret void
18 }
19
20 declare void %Pr(sbyte*, int, int)