diff --git a/llvm/test/Analysis/GlobalsModRef/dead-uses.ll b/llvm/test/Analysis/GlobalsModRef/dead-uses.ll --- a/llvm/test/Analysis/GlobalsModRef/dead-uses.ll +++ b/llvm/test/Analysis/GlobalsModRef/dead-uses.ll @@ -1,4 +1,5 @@ -; RUN: opt < %s -instcombine -globals-aa -licm -S | FileCheck %s +; RUN: opt < %s -instcombine -globals-aa -licm -enable-new-pm=0 -S | FileCheck %s +; RUN: opt < %s -aa-pipeline=basic-aa,globals-aa -passes='function(instcombine),require,function(invalidate,loop(licm))' -S | FileCheck %s ; Make sure -globals-aa ignores dead uses of globals.