projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ARM64: add patterns for csXYZ with reversed operands.
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
2007-11-22-InvokeNoUnwind.ll
1
; RUN: opt < %s -simplifycfg -S | FileCheck %s
2
3
; CHECK-NOT: invoke
4
5
declare i32 @func(i8*) nounwind
6
7
define i32 @test() {
8
invoke i32 @func( i8* null )
9
to label %Cont unwind label %Other ; <i32>:1 [#uses=0]
10
11
Cont: ; preds = %0
12
ret i32 0
13
14
Other: ; preds = %0
15
ret i32 1
16
}