[test] Fix remaining GVN tests under NPM

Some used analyses are optional but were relied upon in tests, the
legacy PM runs them in a different order than the NPM.
This commit is contained in:
Arthur Eubanks 2020-11-18 12:31:55 -08:00
parent e29292969b
commit b056030d6e
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -basic-aa -gvn -S | FileCheck %s
; RUN: opt < %s -basic-aa -loops -gvn -S | FileCheck %s
; This test is checking that (a) this doesn't crash, and (b) we don't
; conclude the value of %tmp17 is available in bb1.bb15_crit_edge.
; rdar://9429882

View File

@ -1,4 +1,4 @@
; RUN: opt -gvn -S < %s | FileCheck %s
; RUN: opt -phi-values -gvn -S < %s | FileCheck %s
declare noalias i8* @malloc(i64)

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -basic-aa -gvn -enable-load-in-loop-pre=false -S | FileCheck %s
; RUN: opt < %s -basic-aa -loops -gvn -enable-load-in-loop-pre=false -S | FileCheck %s
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
;void test1(int N, double *G) {