[llvm] f374138 - [test] Make incorrect-exit-count.ll work under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 21 21:46:20 PST 2021


Author: Arthur Eubanks
Date: 2021-01-21T21:45:32-08:00
New Revision: f374138058b6f7ddfeeb145a5c98b9c8d0d95f82

URL: https://github.com/llvm/llvm-project/commit/f374138058b6f7ddfeeb145a5c98b9c8d0d95f82
DIFF: https://github.com/llvm/llvm-project/commit/f374138058b6f7ddfeeb145a5c98b9c8d0d95f82.diff

LOG: [test] Make incorrect-exit-count.ll work under NPM

Added: 
    

Modified: 
    llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll b/llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
index 411a8566d1b7..6766be439bd0 100644
--- a/llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
+++ b/llvm/test/Analysis/ScalarEvolution/incorrect-exit-count.ll
@@ -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


        


More information about the llvm-commits mailing list