[test] Make incorrect-exit-count.ll work under NPM
authorArthur Eubanks <aeubanks@google.com>
Fri, 22 Jan 2021 05:45:32 +0000 (21:45 -0800)
committerArthur Eubanks <aeubanks@google.com>
Fri, 22 Jan 2021 05:45:32 +0000 (21:45 -0800)
llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll

index 411a856..6766be4 100644 (file)
@@ -1,5 +1,6 @@
 ; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py
-; RUN: opt -analyze -scalar-evolution < %s | FileCheck %s
+; RUN: opt -analyze -scalar-evolution < %s -enable-new-pm=0 | FileCheck %s
+; RUN: opt -passes='print<scalar-evolution>' < %s -disable-output 2>&1 | FileCheck %s
 
 @b = dso_local global i32 5, align 4
 @__const.f.g = private unnamed_addr constant [1 x [4 x i16]] [[4 x i16] [i16 1, i16 0, i16 0, i16 0]], align 2