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

Series of Minor Fixes #116

Merged
merged 5 commits into from
Dec 24, 2024
Merged

Series of Minor Fixes #116

merged 5 commits into from
Dec 24, 2024

Conversation

ncough
Copy link
Collaborator

@ncough ncough commented Dec 22, 2024

  • Enable SVE in the default lifter config
  • Fix the list take and drop utilities
  • Common pure/impure primitive operations into a single config
  • Stop dead code removal from removing impure operations
  • Remove incorrect primitive sdiv_int
  • Limit CSE to pure expressions over constant variables

EDIT: SVE opens a whole can of worms for the offline lifters. Will need to handle this later.

* Central config for a notion of operation purity
* Introduce additional checks for purity in RemoveUnused
Somehow got added to the code base, should just be zdiv_int.
CSE performs some aggressive code motion, as it moves commoned
expressions up to the start of the code snippet. To simplify
reasoning, limit it to cases for which code motion is trivial.
@ncough ncough force-pushed the minor_fixes branch 4 times, most recently from 07d99d3 to 6619937 Compare December 24, 2024 00:26
Calls without bodies are left in the partial eval result.
This is a little unexpected, leading to offline issues.

Also fix some sanity tests to handle failure consistently.
@ncough ncough merged commit 552d319 into partial_eval Dec 24, 2024
4 checks passed
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.

1 participant