[test][NewPM] Fix update-scev.ll under NPM
authorArthur Eubanks <aeubanks@google.com>
Wed, 23 Sep 2020 02:26:30 +0000 (19:26 -0700)
committerArthur Eubanks <aeubanks@google.com>
Wed, 23 Sep 2020 02:26:30 +0000 (19:26 -0700)
llvm/test/Transforms/LICM/update-scev.ll

index 221c124..7b63f0f 100644 (file)
@@ -1,5 +1,6 @@
 ; RUN: opt -S -licm < %s | FileCheck %s --check-prefix=IR-AFTER-TRANSFORM
-; RUN: opt -analyze -scalar-evolution -licm -scalar-evolution < %s | FileCheck %s --check-prefix=SCEV-EXPRS
+; RUN: opt -analyze -scalar-evolution -licm -scalar-evolution -enable-new-pm=0 < %s | FileCheck %s --check-prefix=SCEV-EXPRS
+; RUN: opt -passes='print<scalar-evolution>,loop(licm),print<scalar-evolution>' -disable-output < %s 2>&1 | FileCheck %s --check-prefix=SCEV-EXPRS
 
 declare void @clobber()