llvm.org GIT mirror llvm / release_30 test / CodeGen / Generic / 2009-06-03-UnreachableSplitPad.ll
release_30

Tree @release_30 (Download .tar.gz)

2009-06-03-UnreachableSplitPad.ll @release_30raw · history · blame

; RUN: llc < %s
; PR4317

declare i32 @b()

define void @a() {
entry:
  ret void

dummy:
  invoke i32 @b() to label %reg unwind label %reg

reg:
  %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
            catch i8* null
  ret void
}

declare i32 @__gxx_personality_v0(...)