
Another step moving away from the deprecated syntax of specifying pass pipeline in opt. Differential Revision: https://reviews.llvm.org/D119081
13 lines
227 B
LLVM
13 lines
227 B
LLVM
; RUN: opt -S -passes=instcombine < %s | FileCheck %s
|
|
|
|
define void @test1() {
|
|
entry:
|
|
call void @tan()
|
|
ret void
|
|
}
|
|
; CHECK-LABEL: define void @test1(
|
|
; CHECK: call void @tan()
|
|
; CHECK-NEXT: ret void
|
|
|
|
declare void @tan()
|