[llvm] b1b187a - [NewPM][SCEV] Fix constant-fold-gep.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 20:26:31 PDT 2020


Author: Arthur Eubanks
Date: 2020-09-15T20:25:35-07:00
New Revision: b1b187a1386e5d7bfecb2a63dc8c654583684e22

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

LOG: [NewPM][SCEV] Fix constant-fold-gep.ll under NPM

Added: 
    

Modified: 
    llvm/test/Other/constant-fold-gep.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Other/constant-fold-gep.ll b/llvm/test/Other/constant-fold-gep.ll
index 8028b4fff987..8be214713d5c 100644
--- a/llvm/test/Other/constant-fold-gep.ll
+++ b/llvm/test/Other/constant-fold-gep.ll
@@ -11,7 +11,8 @@
 ; RUN: opt -S -o - -instcombine -globalopt -data-layout="e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64" < %s | FileCheck --check-prefix=TO %s
 
 ; "SCEV" - ScalarEvolution with default target layout
-; RUN: opt -analyze -scalar-evolution < %s | FileCheck --check-prefix=SCEV %s
+; RUN: opt -analyze -scalar-evolution < %s -enable-new-pm=0 | FileCheck --check-prefix=SCEV %s
+; RUN: opt -passes='print<scalar-evolution>' < %s -disable-output 2>&1 | FileCheck --check-prefix=SCEV %s
 
 
 ; The automatic constant folder in opt does not have targetdata access, so


        


More information about the llvm-commits mailing list