File: 2008-01-08-SchedulerCrash.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 (32 lines) | stat: -rw-r--r-- 1,062 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
25
26
27
28
29
30
31
32
; RUN: llvm-as < %s | llc -march=x86 | not grep pushf

	%struct.indexentry = type { i32, i8*, i8*, i8*, i8*, i8* }

define i32 @_bfd_stab_section_find_nearest_line(i32 %offset) nounwind  {
entry:
	%tmp910 = add i32 0, %offset		; <i32> [#uses=1]
	br i1 true, label %bb951, label %bb917

bb917:		; preds = %entry
	ret i32 0

bb951:		; preds = %bb986, %entry
	%tmp955 = sdiv i32 0, 2		; <i32> [#uses=3]
	%tmp961 = getelementptr %struct.indexentry* null, i32 %tmp955, i32 0		; <i32*> [#uses=1]
	br i1 true, label %bb986, label %bb967

bb967:		; preds = %bb951
	ret i32 0

bb986:		; preds = %bb951
	%tmp993 = load i32* %tmp961, align 4		; <i32> [#uses=1]
	%tmp995 = icmp ugt i32 %tmp993, %tmp910		; <i1> [#uses=2]
	%tmp1002 = add i32 %tmp955, 1		; <i32> [#uses=1]
	%low.0 = select i1 %tmp995, i32 0, i32 %tmp1002		; <i32> [#uses=1]
	%high.0 = select i1 %tmp995, i32 %tmp955, i32 0		; <i32> [#uses=1]
	%tmp1006 = icmp eq i32 %low.0, %high.0		; <i1> [#uses=1]
	br i1 %tmp1006, label %UnifiedReturnBlock, label %bb951

UnifiedReturnBlock:		; preds = %bb986
	ret i32 1
}