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

[vmvx] Fix sitofp lowering to consider correct type #11489

Merged
merged 4 commits into from
Dec 13, 2022

Conversation

jpienaar
Copy link
Member

@jpienaar jpienaar commented Dec 9, 2022

Previously the storage type and value type were mixed up. Fix sitofp lowering and document type usage expectations.

Flagged a couple of more spots that seem suspect to check on.

Left as follow up here to move these to ArithToVm in mechanical change.

@jpienaar jpienaar requested a review from benvanik as a code owner December 9, 2022 03:46
@jpienaar jpienaar force-pushed the vmvx branch 2 times, most recently from c2fecab to 90152ce Compare December 9, 2022 22:29
@jpienaar jpienaar changed the title [vmvx] Sign-extend in vm_trunc_i32i8 and vm_trunci32i16. [vmvx] Fix sitofp lowering to consider correct type Dec 9, 2022
@jpienaar jpienaar requested a review from ScottTodd December 9, 2022 22:46
Previously the storage type and value type were mixed up.

Flagged a couple of more spots that seem suspect to check on.

Left as follow up here to move these to ArithToVm in mechanical change.
@ScottTodd ScottTodd self-requested a review December 13, 2022 17:56
@jpienaar jpienaar requested a review from ScottTodd December 13, 2022 18:05
@ScottTodd ScottTodd added the codegen/vmvx VMVX (IREE VM) code generation compiler backend label Dec 13, 2022
@jpienaar jpienaar enabled auto-merge (squash) December 13, 2022 18:12
@jpienaar jpienaar merged commit 8a3d270 into iree-org:main Dec 13, 2022
pzread pushed a commit to pzread/iree that referenced this pull request Jan 4, 2023
pzread pushed a commit to pzread/iree that referenced this pull request Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codegen/vmvx VMVX (IREE VM) code generation compiler backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants