view test/Other/opt-twice.ll @ 122:36195a0db682

merging ( incomplete )
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 17 Nov 2017 20:32:31 +0900
parents 7d135dc70f03
children
line wrap: on
line source

; 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
}