mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-30 00:24:00 +00:00
new testcases that simplifycfg breaks
llvm-svn: 7598
This commit is contained in:
parent
8cedc4ffa6
commit
e465467534
@ -0,0 +1,9 @@
|
||||
; Do not remove the invoke!
|
||||
;
|
||||
; RUN: as < %s | opt -simplifycfg -disable-output
|
||||
|
||||
int %test() {
|
||||
%A = invoke int %test() to label %Ret except label %Ret
|
||||
Ret:
|
||||
ret int %A
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
; Do not remove the invoke!
|
||||
;
|
||||
; RUN: as < %s | opt -simplifycfg | dis | grep invoke
|
||||
|
||||
int %test() {
|
||||
invoke int %test() to label %Ret except label %Ret
|
||||
Ret:
|
||||
%A = add int 0, 1
|
||||
ret int %A
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user