projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add a lsr common loop invariant hoisting test case
[oota-llvm.git]
/
test
/
CodeGen
/
CBackend
/
2003-06-28-InvokeSupport.ll
1
; RUN: llvm-as < %s | llc -march=c
2
3
4
declare int %callee(int, int)
5
6
7
int %test(int %X) {
8
%A = invoke int %callee(int %X, int 5) to label %Ok except label %Threw
9
Ok:
10
%B = phi int [%A, %0], [-1, %Threw]
11
ret int %A
12
Threw:
13
br label %Ok
14
}