mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +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
15 lines
261 B
LLVM
15 lines
261 B
LLVM
; RUN: opt < %s -simplifycfg -S | not grep invoke
|
|
|
|
declare i32 @func(i8*) nounwind
|
|
|
|
define i32 @test() {
|
|
invoke i32 @func( i8* null )
|
|
to label %Cont unwind label %Other ; <i32>:1 [#uses=0]
|
|
|
|
Cont: ; preds = %0
|
|
ret i32 0
|
|
|
|
Other: ; preds = %0
|
|
ret i32 1
|
|
}
|