2019-11-29 08:42:27 +08:00
|
|
|
; RUN: opt -passes='mem2reg,instcombine' -print-after-all -disable-output < %s 2>&1 | \
|
2021-09-02 00:51:31 +08:00
|
|
|
; RUN: FileCheck %s --implicit-check-not='IR Dump'
|
2018-07-12 07:30:25 +08:00
|
|
|
define void @tester(){
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
define void @foo(){
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
2021-09-02 00:51:31 +08:00
|
|
|
; CHECK: *** IR Dump After VerifierPass
|
|
|
|
; CHECK: *** IR Dump After PromotePass
|
2019-11-29 08:42:27 +08:00
|
|
|
; CHECK-NEXT: define void @tester
|
2021-09-02 00:51:31 +08:00
|
|
|
; CHECK: *** IR Dump After InstCombinePass
|
2019-11-29 08:42:27 +08:00
|
|
|
; CHECK-NEXT: define void @tester
|
2021-09-02 00:51:31 +08:00
|
|
|
; CHECK: *** IR Dump After PromotePass
|
2019-11-29 08:42:27 +08:00
|
|
|
; CHECK-NEXT: define void @foo
|
2021-09-02 00:51:31 +08:00
|
|
|
; CHECK: *** IR Dump After InstCombinePass
|
2019-11-29 08:42:27 +08:00
|
|
|
; CHECK-NEXT: define void @foo
|
2021-09-02 00:51:31 +08:00
|
|
|
; CHECK: *** IR Dump After VerifierPass
|