llvm.org GIT mirror llvm / release_40 test / Other / opt-twice.ll
release_40

Tree @release_40 (Download .tar.gz)

opt-twice.ll @release_40raw · history · blame

; The pass here doesn't matter (we use deadargelim), but test
; that the -run-twice options exists, generates output, and
; doesn't crash
; RUN: opt -run-twice -deadargelim -S < %s | FileCheck %s

; CHECK: define internal void @test
define internal {} @test() {
  ret {} undef
}

define void @caller() {
  call {} @test()
  ret void
}