File: pr3241.ll

package info (click to toggle)
llvm-2.7 2.7-6
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 59,992 kB
  • ctags: 49,499
  • sloc: cpp: 373,792; ansic: 16,885; sh: 12,614; asm: 6,809; ada: 3,083; ml: 2,942; python: 2,671; perl: 2,404; makefile: 1,691; pascal: 1,235; exp: 399; objc: 291; lisp: 184; csh: 117; xml: 38; f90: 36
file content (29 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
; RUN: llc < %s -march=x86
; PR3241

@g_620 = external global i32

define void @func_18(i32 %p_21) nounwind {
entry:
	%t0 = call i32 @func_31(i32 %p_21) nounwind
	%t1 = call i32 @safe_add_macro_uint32_t_u_u() nounwind
	%t2 = icmp sgt i32 %t1, 0
	%t3 = zext i1 %t2 to i32
	%t4 = load i32* @g_620, align 4
	%t5 = icmp eq i32 %t3, %t4
	%t6 = xor i32 %p_21, 1
	%t7 = call i32 @func_55(i32 %t6) nounwind
	br i1 %t5, label %return, label %bb

bb:
	unreachable

return:
	unreachable
}

declare i32 @func_31(i32)

declare i32 @safe_add_macro_uint32_t_u_u()

declare i32 @func_55(i32)