llvm.org GIT mirror llvm / release_29 test / Transforms / SimplifyCFG / noreturn-call.ll
release_29

Tree @release_29 (Download .tar.gz)

noreturn-call.ll @release_29raw · history · blame

; RUN: opt < %s -simplifycfg -S | grep unreachable
; PR1796

declare void @Finisher(i32) noreturn

define void @YYY(i32) {
  tail call void @Finisher(i32 %0) noreturn
  tail call void @Finisher(i32 %0) noreturn
  ret void
}