Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[StableHLO] Port missing pointwise op tests #13052

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

kuhar
Copy link
Member

@kuhar kuhar commented Apr 12, 2023

I went over the list of all pointwise ops that we currently handle. These fell through the cracks during the initial import (#12957).

Two ops are not tested: ComplexOp and NotOp, but these do not have any tests in mlir-hlo either.

Next, I plan to split the linalg lowering tests into a few smaller test files.

Issue: #12678

I went over the list of all pointwise ops that we currently handle.
These fell through the cracks during the initial import (iree-org#12957).

Two ops are not tested: `ComplexOp` and `NotOp`, but these do not have
any tests in mlir-hlo either.

Next, I plan to split the linalg lowering tests into a few smaller
test files.

Issue: iree-org#12678
@kuhar kuhar changed the title [StableHLO] Port missing elementwise op tests [StableHLO] Port missing pointwise op tests Apr 12, 2023
@benvanik
Copy link
Collaborator

(driveby: running --canonicalize will likely make this test file quite churny during integrates as any upstream canonicalization changes to arith/etc will cause it to change - just something to be aware of, probably has already been discussed)

@kuhar
Copy link
Member Author

kuhar commented Apr 12, 2023

(driveby: running --canonicalize will likely make this test file quite churny during integrates as any upstream canonicalization changes to arith/etc will cause it to change - just something to be aware of, probably has already been discussed)

Yeah these tests have other issues too, e.g., check match variable scope has to be disabled, but I'm trying not to change too many things at once and, instead, make it more manageable in simple increments.

@kuhar kuhar merged commit f1b71b1 into iree-org:main Apr 12, 2023
jpienaar pushed a commit that referenced this pull request May 1, 2023
I went over the list of all pointwise ops that we currently handle.
These fell through the cracks during the initial import (#12957).

Two ops are not tested: `ComplexOp` and `NotOp`, but these do not have
any tests in mlir-hlo either.

Next, I plan to split the linalg lowering tests into a few smaller test
files.

Issue: #12678
NatashaKnk pushed a commit to NatashaKnk/iree that referenced this pull request Jul 6, 2023
I went over the list of all pointwise ops that we currently handle.
These fell through the cracks during the initial import (iree-org#12957).

Two ops are not tested: `ComplexOp` and `NotOp`, but these do not have
any tests in mlir-hlo either.

Next, I plan to split the linalg lowering tests into a few smaller test
files.

Issue: iree-org#12678
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants