Skip to content

Commit 990efe2

Browse files
committed
Fix default option for elementwise-to-affine
Cf. google@ccba176#diff-6f8c01b4d228f97d2a800c5b5deca07240dd1203a0063e775b6a9f8e49cc9b9c for the change that introduced this, due to a failure caused by upstream changes. llvm/llvm-project#118877 (comment) for the suggested correct form.
1 parent 276bc7c commit 990efe2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Dialect/Polynomial/Transforms/elementwise_to_affine.mlir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939

4040
// THE FOLLOWING SHOULD CONVERT NOTHING (EXCEPT "ARITH" OPS FOR SOME, BUT THERE ARE NONE IN THE TESTS)
4141

42-
// RUN: heir-opt --mlir-print-local-scope --convert-elementwise-to-affine=convert-ops=list={} %s \
42+
// RUN: heir-opt --mlir-print-local-scope --convert-elementwise-to-affine={convert-ops=""} %s \
4343
// RUN: | FileCheck --enable-var-scope --check-prefix=CHECK --check-prefix=CHECK_NOTADD --check-prefix=CHECK_NOTMUL %s
4444

45-
// RUN: heir-opt --mlir-print-local-scope --convert-elementwise-to-affine=convert-dialects=list={} %s \
45+
// RUN: heir-opt --mlir-print-local-scope --convert-elementwise-to-affine={convert-dialects=""} %s \
4646
// RUN: | FileCheck --enable-var-scope --check-prefix=CHECK --check-prefix=CHECK_NOTADD --check-prefix=CHECK_NOTMUL %s
4747

48-
// RUN: heir-opt --mlir-print-local-scope '--convert-elementwise-to-affine=convert-ops=list={} convert-dialects=list={}' %s \
48+
// RUN: heir-opt --mlir-print-local-scope '--convert-elementwise-to-affine={convert-ops="" convert-dialects=""}' %s \
4949
// RUN: | FileCheck --enable-var-scope --check-prefix=CHECK --check-prefix=CHECK_NOTADD --check-prefix=CHECK_NOTMUL %s
5050

5151
// RUN: heir-opt --mlir-print-local-scope '--convert-elementwise-to-affine=convert-dialects=arith' %s \

0 commit comments

Comments
 (0)