[llvm] d158e78 - [DemandedBits][NewPM] Pin some tests to legacy PM
Arthur Eubanks via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 15 11:56:41 PDT 2020
Author: Arthur Eubanks
Date: 2020-09-15T11:55:58-07:00
New Revision: d158e786ccd33f8c9fc3ab008dd9463e252fa36a
URL: https://github.com/llvm/llvm-project/commit/d158e786ccd33f8c9fc3ab008dd9463e252fa36a
DIFF: https://github.com/llvm/llvm-project/commit/d158e786ccd33f8c9fc3ab008dd9463e252fa36a.diff
LOG: [DemandedBits][NewPM] Pin some tests to legacy PM
All tests have corresponding NPM RUN lines.
-analyze doesn't work under NPM.
Added:
Modified:
llvm/test/Analysis/DemandedBits/add.ll
llvm/test/Analysis/DemandedBits/basic.ll
llvm/test/Analysis/DemandedBits/intrinsics.ll
llvm/test/Analysis/DemandedBits/vectors.ll
Removed:
################################################################################
diff --git a/llvm/test/Analysis/DemandedBits/add.ll b/llvm/test/Analysis/DemandedBits/add.ll
index 01673f82c2b3..dfd54525d074 100644
--- a/llvm/test/Analysis/DemandedBits/add.ll
+++ b/llvm/test/Analysis/DemandedBits/add.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -demanded-bits -analyze < %s | FileCheck %s
+; RUN: opt -S -demanded-bits -analyze -enable-new-pm=0 < %s | FileCheck %s
; RUN: opt -S -disable-output -passes="print<demanded-bits>" < %s 2>&1 | FileCheck %s
; CHECK-DAG: DemandedBits: 0x1e for %1 = and i32 %a, 9
diff --git a/llvm/test/Analysis/DemandedBits/basic.ll b/llvm/test/Analysis/DemandedBits/basic.ll
index 6f44465315e6..a05d3804156a 100644
--- a/llvm/test/Analysis/DemandedBits/basic.ll
+++ b/llvm/test/Analysis/DemandedBits/basic.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -demanded-bits -analyze < %s | FileCheck %s
+; RUN: opt -S -demanded-bits -analyze -enable-new-pm=0 < %s | FileCheck %s
; RUN: opt -S -disable-output -passes="print<demanded-bits>" < %s 2>&1 | FileCheck %s
; CHECK-DAG: DemandedBits: 0xff for %1 = add nsw i32 %a, 5
diff --git a/llvm/test/Analysis/DemandedBits/intrinsics.ll b/llvm/test/Analysis/DemandedBits/intrinsics.ll
index 6987f14f8b1b..ec78178ea22d 100644
--- a/llvm/test/Analysis/DemandedBits/intrinsics.ll
+++ b/llvm/test/Analysis/DemandedBits/intrinsics.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -demanded-bits -analyze < %s | FileCheck %s
+; RUN: opt -S -demanded-bits -analyze -enable-new-pm=0 < %s | FileCheck %s
; RUN: opt -S -disable-output -passes="print<demanded-bits>" < %s 2>&1 | FileCheck %s
; CHECK-DAG: DemandedBits: 0xff000000 for %1 = or i32 %x, 1
diff --git a/llvm/test/Analysis/DemandedBits/vectors.ll b/llvm/test/Analysis/DemandedBits/vectors.ll
index 36cde05fb7c6..a7835ca799bc 100644
--- a/llvm/test/Analysis/DemandedBits/vectors.ll
+++ b/llvm/test/Analysis/DemandedBits/vectors.ll
@@ -1,4 +1,4 @@
-; RUN: opt -S -demanded-bits -analyze < %s | FileCheck %s
+; RUN: opt -S -demanded-bits -analyze -enable-new-pm=0 < %s | FileCheck %s
; RUN: opt -S -disable-output -passes="print<demanded-bits>" < %s 2>&1 | FileCheck %s
; CHECK-DAG: DemandedBits: 0xff00 for %x = or <2 x i32> %a, zeroinitializer
More information about the llvm-commits
mailing list