mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
20 lines
304 B
LLVM
20 lines
304 B
LLVM
; RUN: opt < %s -prune-eh -S | not grep invoke
|
|
|
|
declare void @nounwind() nounwind
|
|
|
|
define internal void @foo() {
|
|
call void @nounwind()
|
|
ret void
|
|
}
|
|
|
|
define i32 @caller() {
|
|
invoke void @foo( )
|
|
to label %Normal unwind label %Except
|
|
|
|
Normal: ; preds = %0
|
|
ret i32 0
|
|
|
|
Except: ; preds = %0
|
|
ret i32 1
|
|
}
|