summaryrefslogtreecommitdiff
path: root/polly/test/CodeGen/exprModDiv.ll
diff options
context:
space:
mode:
authorrahulana-quic <quic_rahulana@quicinc.com>2024-05-25 01:39:34 +0530
committerGitHub <noreply@github.com>2024-05-24 13:09:34 -0700
commite1f056f692d869708c1898d9d65a69ac5584a0ed (patch)
tree719a5ccaa7a18ba5e6367dc268210eee8922b3dc /polly/test/CodeGen/exprModDiv.ll
parent3ec57a7ed60a19c5e3e18655e19c997a469d10ec (diff)
Reland "[polly] Port polly tests to use NPM" (#92918)
Even as the NPM has been in use by Polly for a while now, the majority of the tests continue using the LPM passes. This patch ports the tests to use the NPM passes (for example, by replacing a flag such as -polly-detect with -passes=polly-detect following the NPM syntax for specifying passes) with some exceptions for some missing features in the new passes. Relanding #90632.
Diffstat (limited to 'polly/test/CodeGen/exprModDiv.ll')
-rw-r--r--polly/test/CodeGen/exprModDiv.ll8
1 files changed, 4 insertions, 4 deletions
diff --git a/polly/test/CodeGen/exprModDiv.ll b/polly/test/CodeGen/exprModDiv.ll
index 936b018bc1ad..c9b419abe324 100644
--- a/polly/test/CodeGen/exprModDiv.ll
+++ b/polly/test/CodeGen/exprModDiv.ll
@@ -1,7 +1,7 @@
-; RUN: opt %loadPolly -polly-import-jscop \
-; RUN: -polly-codegen -S < %s | FileCheck %s
-; RUN: opt %loadPolly -polly-import-jscop \
-; RUN: -polly-codegen -polly-import-jscop-postfix=pow2 \
+; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
+; RUN: -S < %s | FileCheck %s
+; RUN: opt %loadNPMPolly '-passes=polly-import-jscop,polly-codegen' \
+; RUN: -polly-import-jscop-postfix=pow2 \
; RUN: -S < %s | FileCheck %s -check-prefix=POW2
;
; void exprModDiv(float *A, float *B, float *C, long N, long p) {