Skip to content

Commit

Permalink
Fix default option for elementwise-to-affine
Browse files Browse the repository at this point in the history
Cf. 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.
  • Loading branch information
j2kun committed Dec 22, 2024
1 parent 276bc7c commit 4a43fc0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@

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

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

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

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

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

0 comments on commit 4a43fc0

Please sign in to comment.