bolt/deps/llvm-18.1.8/llvm/test/Other/opt-twice.ll
2025-02-14 19:21:04 +01:00

14 lines
342 B
LLVM

; 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 -passes=deadargelim -S < %s | FileCheck %s
; CHECK: define internal void @test
define internal {} @test() {
ret {} undef
}
define void @caller() {
call {} @test()
ret void
}