mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
5f28475b30
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117224 91177308-0d34-0410-b5e6-96231b3b80d8
7 lines
90 B
LLVM
7 lines
90 B
LLVM
; RUN: opt %s -simplifycfg -disable-output
|
|
; PR8445
|
|
|
|
define void @test() {
|
|
unwind
|
|
}
|