File: pr2326.ll

package info (click to toggle)
llvm 2.6-9.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 57,604 kB
  • ctags: 44,336
  • sloc: cpp: 344,766; sh: 12,407; ansic: 10,617; ada: 3,070; ml: 2,505; perl: 2,496; makefile: 1,426; pascal: 1,163; exp: 389; asm: 307; python: 298; objc: 260; lisp: 182; csh: 117; xml: 38; f90: 36; tcl: 20
file content (24 lines) | stat: -rw-r--r-- 982 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
; RUN: llvm-as < %s | llc -march=x86 | grep sete
; PR2326

define i32 @func_59(i32 %p_60) nounwind  {
entry:
	%l_108 = alloca i32		; <i32*> [#uses=2]
	%tmp15 = load i32* null, align 4		; <i32> [#uses=1]
	%tmp16 = load i32* %l_108, align 4		; <i32> [#uses=1]
	%tmp17 = icmp eq i32 %tmp15, %tmp16		; <i1> [#uses=1]
	%tmp1718 = zext i1 %tmp17 to i8		; <i8> [#uses=1]
	%tmp19 = load i32* null, align 4		; <i32> [#uses=1]
	%tmp20 = load i32* %l_108, align 4		; <i32> [#uses=1]
	%tmp21 = icmp ule i32 %tmp19, %tmp20		; <i1> [#uses=1]
	%tmp2122 = zext i1 %tmp21 to i8		; <i8> [#uses=1]
	%toBool23 = icmp ne i8 %tmp1718, 0		; <i1> [#uses=1]
	%toBool24 = icmp ne i8 %tmp2122, 0		; <i1> [#uses=1]
	%tmp25 = and i1 %toBool23, %toBool24		; <i1> [#uses=1]
	%tmp2526 = zext i1 %tmp25 to i8		; <i8> [#uses=1]
	%tmp252627 = zext i8 %tmp2526 to i32		; <i32> [#uses=1]
	%tmp29 = call i32 (...)* @func_15( i32 %tmp252627, i32 0 ) nounwind 		; <i32> [#uses=0]
	unreachable
}

declare i32 @func_15(...)