From d6746ecb73c3892bd9a353c3b1b3facbd285c450 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Tue, 22 Sep 2020 19:26:30 -0700 Subject: [PATCH] [test][NewPM] Fix update-scev.ll under NPM --- llvm/test/Transforms/LICM/update-scev.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/test/Transforms/LICM/update-scev.ll b/llvm/test/Transforms/LICM/update-scev.ll index 221c124..7b63f0f 100644 --- a/llvm/test/Transforms/LICM/update-scev.ll +++ b/llvm/test/Transforms/LICM/update-scev.ll @@ -1,5 +1,6 @@ ; RUN: opt -S -licm < %s | FileCheck %s --check-prefix=IR-AFTER-TRANSFORM -; RUN: opt -analyze -scalar-evolution -licm -scalar-evolution < %s | FileCheck %s --check-prefix=SCEV-EXPRS +; RUN: opt -analyze -scalar-evolution -licm -scalar-evolution -enable-new-pm=0 < %s | FileCheck %s --check-prefix=SCEV-EXPRS +; RUN: opt -passes='print,loop(licm),print' -disable-output < %s 2>&1 | FileCheck %s --check-prefix=SCEV-EXPRS declare void @clobber() -- 2.7.4