Skip to content

[VM] Add some missing arith-to-vm patterns - #20079

Merged
zjgarvey merged 3 commits into
iree-org:mainfrom
zjgarvey:f64_vm_conversions
Feb 25, 2025
Merged

zjgarvey merged 3 commits into
iree-org:mainfrom
zjgarvey:f64_vm_conversions

Conversation

@zjgarvey

Copy link
Copy Markdown
Contributor

Addresses #20022 and #17345 by adding arith-to-vm conversions for arith.extf op (f32 to f64), and arith.cmpf on f64 inputs.

The necessary VM ops were already present, so this commit simply adds the lowering from arith and some additional lit tests.

@zjgarvey

Copy link
Copy Markdown
Contributor Author

I'm going to take a look at the progression report for the onnx_ops tests before un-drafting. I expect a few xpasses with this change.

@benvanik benvanik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice! hooray more test coverage :)

@zjgarvey
zjgarvey marked this pull request as ready for review February 24, 2025 21:18
@zjgarvey
zjgarvey merged commit 2a04dac into iree-org:main Feb 25, 2025
@ScottTodd ScottTodd mentioned this pull request Mar 14, 2025
5 of 6 tasks
AWoloszyn pushed a commit that referenced this pull request Dec 1, 2025
Addresses <#20022> and
<#17345> by adding arith-to-vm
conversions for `arith.extf` op (`f32 to f64`), and `arith.cmpf` on
`f64` inputs.

The necessary `VM` ops were already present, so this commit simply adds
the lowering from arith and some additional lit tests.

---------

Signed-off-by: zjgarvey <[email protected]>
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.

2 participants