
The legacy PM is deprecated, so update a bunch of lit tests running opt to use the new PM syntax when specifying the pipeline. In this patch focus has been put on test cases for ConstantMerge, ConstraintElimination, CorrelatedValuePropagation, GlobalDCE, GlobalOpt, SCCP, TailCallElim and PredicateInfo. Differential Revision: https://reviews.llvm.org/D114516
8 lines
130 B
LLVM
8 lines
130 B
LLVM
; RUN: opt < %s -passes=globalopt -S | FileCheck %s
|
|
|
|
; CHECK-NOT: aa
|
|
; CHECK-NOT: bb
|
|
|
|
declare void @aa()
|
|
@bb = external global i8
|