forked from OSchip/llvm-project
[DemandedBits][NewPM] Pin some tests to legacy PM
All tests have corresponding NPM RUN lines. -analyze doesn't work under NPM.
This commit is contained in:
parent
79f22b1f99
commit
d158e786cc
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue