[test] Fix shrunk-constant.ll under NPM
authorArthur Eubanks <aeubanks@google.com>
Thu, 22 Oct 2020 04:19:02 +0000 (21:19 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 22 Oct 2020 04:21:24 +0000 (21:21 -0700)
llvm/test/Transforms/IndVarSimplify/shrunk-constant.ll

index ba20b2c..cd8720c 100644 (file)
@@ -1,4 +1,5 @@
-; RUN: opt < %s -scalar-evolution -analyze | FileCheck %s
+; RUN: opt < %s -scalar-evolution -analyze -enable-new-pm=0 | FileCheck %s
+; RUN: opt < %s -passes='print<scalar-evolution>' 2>&1 | FileCheck %s
 
 ; CHECK: -->  (1 + (zext i4 {-8,+,-8}<%loop> to i32))<nuw><nsw>