From eb765872873bf8e8509377792f40d62a3f3cfaa7 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Mon, 7 Dec 2020 21:54:38 -0800 Subject: [PATCH] [test] Fix Transforms/LoopVersioningLICM under NPM There were already both legacy and new PM RUN lines. Also make the NPM RUN line actually match the legacy PM RUN line. --- test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll | 4 ++-- test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll b/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll index d4cfd3ab547..48048c0e17b 100644 --- a/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll +++ b/test/Transforms/LoopVersioningLICM/loopversioningLICM1.ll @@ -1,5 +1,5 @@ -; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm 2>&1 | FileCheck %s -; RUN: opt < %s -S -passes='loop-versioning-licm,licm' --aa-pipeline=default -debug-only=loop-versioning-licm 2>&1 | FileCheck %s +; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm -enable-new-pm=0 2>&1 | FileCheck %s +; RUN: opt < %s -S -passes='default,loop-versioning-licm,licm' --aa-pipeline=default -debug-only=loop-versioning-licm 2>&1 | FileCheck %s ; REQUIRES: asserts ; ; Test to confirm loop is a candidate for LoopVersioningLICM. diff --git a/test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll b/test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll index 752f3648bcb..09067d3af4c 100644 --- a/test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll +++ b/test/Transforms/LoopVersioningLICM/loopversioningLICM2.ll @@ -1,5 +1,5 @@ -; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm -disable-loop-unrolling 2>&1 | FileCheck %s -; RUN: opt < %s -S -passes='loop-versioning-licm,licm' --aa-pipeline=default -debug-only=loop-versioning-licm -disable-loop-unrolling 2>&1 | FileCheck %s +; RUN: opt < %s -O1 -S -loop-versioning-licm -licm -debug-only=loop-versioning-licm -disable-loop-unrolling -enable-new-pm=0 2>&1 | FileCheck %s +; RUN: opt < %s -S -passes='default,loop-versioning-licm,licm' --aa-pipeline=default -debug-only=loop-versioning-licm -disable-loop-unrolling 2>&1 | FileCheck %s ; REQUIRES: asserts ; ; Test to confirm loop is a good candidate for LoopVersioningLICM