mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 08:23:21 +01:00
5b25503aab
it isn't unreachable and should not be zapped. The check for the entry block was missing in one case: a block containing a unwind instruction. While there, do some small cleanups: "M" is not a great name for a Function* (it would be more appropriate for a Module*), change it to "Fn"; use Fn in more places. llvm-svn: 117224
7 lines
90 B
LLVM
7 lines
90 B
LLVM
; RUN: opt %s -simplifycfg -disable-output
|
|
; PR8445
|
|
|
|
define void @test() {
|
|
unwind
|
|
}
|