blob: 647311bae40843e577d0f642f5e006489d6b1bfb [file] [log] [blame]
Chris Lattnerfa1fb112005-12-14 17:23:20 +00001; RUN: llvm-as < %s | opt -scalarrepl -disable-output
2target endian = big
3target pointersize = 32
4 %struct.rtx_def = type { [2 x ubyte], int, [1 x %union.rtunion_def] }
5 %union.rtunion_def = type { uint }
6
7implementation ; Functions:
8
9void %find_reloads() {
10entry:
11 %c_addr.i = alloca sbyte ; <sbyte*> [#uses=1]
12 switch uint 0, label %return [
13 uint 36, label %label.7
14 uint 34, label %label.7
15 uint 41, label %label.5
16 ]
17
18label.5: ; preds = %entry
19 ret void
20
21label.7: ; preds = %entry, %entry
22 br bool false, label %then.4, label %switchexit.0
23
24then.4: ; preds = %label.7
25 %tmp.0.i = cast sbyte* %c_addr.i to int* ; <int*> [#uses=1]
26 store int 44, int* %tmp.0.i
27 ret void
28
29switchexit.0: ; preds = %label.7
30 ret void
31
32return: ; preds = %entry
33 ret void
34}