Bjorn Pettersson acdc419c89 [test] Use -passes=instcombine instead of -instcombine in lots of tests. NFC
Another step moving away from the deprecated syntax of specifying
pass pipeline in opt.

Differential Revision: https://reviews.llvm.org/D119081
2022-02-07 14:26:59 +01:00

10 lines
231 B
LLVM

; RUN: opt -S -passes=instcombine < %s | FileCheck %s
@b = internal global [1 x i32] zeroinitializer, align 4
@c = internal global i32 0, align 4
; CHECK-LABEL: @fn1
; CHECK-NEXT: ret i32 0
define i32 @fn1(i32 %a) {
ret i32 0
}