File: pr2326.ll

package info (click to toggle)
llvm-toolchain-14 1%3A14.0.6-12
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,496,180 kB
  • sloc: cpp: 5,593,972; ansic: 986,872; asm: 585,869; python: 184,223; objc: 72,530; lisp: 31,119; f90: 27,793; javascript: 9,780; pascal: 9,762; sh: 9,482; perl: 7,468; ml: 5,432; awk: 3,523; makefile: 2,538; xml: 953; cs: 573; fortran: 567
file content (35 lines) | stat: -rw-r--r-- 1,375 bytes parent folder | download | duplicates (6)
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
30
31
32
33
34
35
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
; RUN: llc < %s -mtriple=i686-- | FileCheck %s
; PR2326

define i32 @func_59(i32 %p_60) nounwind  {
; CHECK-LABEL: func_59:
; CHECK:       # %bb.0: # %entry
; CHECK-NEXT:    pushl %eax
; CHECK-NEXT:    movl 0, %eax
; CHECK-NEXT:    xorl %ecx, %ecx
; CHECK-NEXT:    cmpl (%esp), %eax
; CHECK-NEXT:    sete %cl
; CHECK-NEXT:    pushl $0
; CHECK-NEXT:    pushl %ecx
; CHECK-NEXT:    calll func_15@PLT
entry:
	%l_108 = alloca i32		; <i32*> [#uses=2]
	%tmp15 = load i32, i32* null, align 4		; <i32> [#uses=1]
	%tmp16 = load i32, 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, i32* null, align 4		; <i32> [#uses=1]
	%tmp20 = load i32, 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(...)