File: 2005-08-03-InvokeWithPHI.ll

package info (click to toggle)
llvm 2.2-12
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 38,648 kB
  • ctags: 28,258
  • sloc: cpp: 215,479; sh: 12,132; ansic: 10,002; yacc: 5,525; perl: 2,352; ml: 1,580; makefile: 956; pascal: 718; lex: 602; exp: 320; ada: 193; lisp: 160; csh: 116; objc: 59; python: 59; tcl: 20
file content (20 lines) | stat: -rw-r--r-- 607 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; RUN: llvm-upgrade < %s | llvm-as | opt -lowerinvoke -enable-correct-eh-support -disable-output

implementation   ; Functions:

declare void %ll_listnext__listiterPtr()

void %WorkTask.fn() {
block0:
	invoke void %ll_listnext__listiterPtr( )
			to label %block9 unwind label %block8_exception_handling

block8_exception_handling:		; preds = %block0
	ret void

block9:		; preds = %block0
	%w_2690 = phi { int, int }* [ null, %block0 ]		; <{ int, int }*> [#uses=1]
	%tmp.129 = getelementptr { int, int }* %w_2690, int 0, uint 1		; <int*> [#uses=1]
	%v2769 = load int* %tmp.129		; <int> [#uses=0]
	ret void
}