File: 2008-06-02-DomInfo.ll

package info (click to toggle)
llvm-toolchain-5.0 1:5.0.1-2~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 553,688 kB
  • sloc: cpp: 2,878,786; ansic: 584,110; asm: 246,252; python: 124,751; objc: 106,925; sh: 21,542; lisp: 8,628; pascal: 5,885; ml: 5,544; perl: 5,312; makefile: 2,208; cs: 2,022; xml: 686; php: 212; csh: 117
file content (26 lines) | stat: -rw-r--r-- 867 bytes parent folder | download | duplicates (7)
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
; RUN: opt < %s -simple-loop-unswitch -instcombine -gvn -disable-output
; PR2372
target triple = "i386-pc-linux-gnu"

define i32 @func_3(i16 signext  %p_5, i16 signext  %p_6) nounwind  {
entry:
	%tmp3 = icmp eq i16 %p_5, 0		; <i1> [#uses=1]
	%tmp1314 = sext i16 %p_6 to i32		; <i32> [#uses=1]
	%tmp28 = icmp ugt i32 %tmp1314, 3		; <i1> [#uses=1]
	%bothcond = or i1 %tmp28, false		; <i1> [#uses=1]
	br label %bb
bb:		; preds = %bb54, %entry
	br i1 %tmp3, label %bb54, label %bb5
bb5:		; preds = %bb
	br i1 %bothcond, label %bb54, label %bb31
bb31:		; preds = %bb5
	br label %bb54
bb54:		; preds = %bb31, %bb5, %bb
	br i1 false, label %bb64, label %bb
bb64:		; preds = %bb54
	%tmp6566 = sext i16 %p_6 to i32		; <i32> [#uses=1]
	%tmp68 = tail call i32 (...) @func_18( i32 1, i32 %tmp6566, i32 1 ) nounwind 		; <i32> [#uses=0]
	ret i32 undef
}

declare i32 @func_18(...)