Skip to content

Merge inprogress/pex into dev_p3.0/pex #841

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

Merged
merged 184 commits into from
Apr 14, 2025
Merged

Merge inprogress/pex into dev_p3.0/pex #841

merged 184 commits into from
Apr 14, 2025

Conversation

aishu-j
Copy link
Contributor

@aishu-j aishu-j commented Apr 8, 2025

dev_p3.0/pex has changes from major/P3.0 and master branch

This PR merges all the changes from inprogress/pex to dev_p3.0/pex

ankushdesai and others added 30 commits February 28, 2024 11:47
TODO: Implement basic new runtime interface to pass code compilation post generation
Removes using PMachineValue for now
Renames Machine/Monitor/Program to PMachine/PMonitor/PModel

Corrects PBool value
aman-goel and others added 16 commits September 9, 2024 10:47
0: ok, 2: bug, 3: bug (too_many_choices), 4: timeout, 5: memout, 6: error
* [PEx] Several updates to logging, PEx config

Changes default max choices limit to 20 per call and 250 per schedule (to account for open-source protocols with monolithic transition relation modeled as single action)

Adds logging support to print choose(.) location info for easy debugging TooManyChoicesException via replayer log

Minor correction

* [PEx] Refactoring and formatting changes

* [PEx] Update cli default

Change each task to 2K schedules by default
Make sure continuation with loop does not declare local var twice
* [PEx] Correct functions containing goto/raise

Changes PEx IR to support functions that contain non-tail ending goto/raise

Enables supporting needed function inlining in spec machines

Bumps PEx runtime revision to 0.3.0

* [PEx] Remove wrongly-added files

* [PEx IR] Correct function inlining for non-null returning functions

Add guard conditions to disable function body statement if already returned

Throw exception if inlining is unsupported
@ankushdesai ankushdesai requested review from aman-goel and Copilot April 8, 2025 18:36
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 133 out of 136 changed files in this pull request and generated 1 comment.

Files not reviewed (3)
  • Src/PRuntimes/PExRuntime/pom.xml: Language not supported
  • Src/PRuntimes/PExRuntime/scripts/build.sh: Language not supported
  • Src/PRuntimes/PExRuntime/src/main/java/META-INF/MANIFEST.MF: Language not supported

var localAccess = new VariableAccessExpr(SourceLocation, local);
var storeAccess = new VariableAccessExpr(SourceLocation, store);
var storeStmt = new AssignStmt(SourceLocation, storeAccess, localAccess);
storeForLocal.Add(local, store);
Copy link
Preview

Copilot AI Apr 8, 2025

Choose a reason for hiding this comment

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

The local variable 'storeStmt' is created but never used; consider either removing this assignment or employing the created statement in the continuation's logic.

Suggested change
storeForLocal.Add(local, store);
storeForLocal.Add(local, store);
statements.Add(storeStmt);

Copilot is powered by AI, so mistakes are possible. Review output carefully before use.

@aman-goel aman-goel self-requested a review April 9, 2025 23:48
@aishu-j aishu-j merged commit 65b4c33 into dev_p3.0/pex Apr 14, 2025
10 checks passed
@aishu-j aishu-j deleted the inprogress/pex branch April 14, 2025 17:39
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.

6 participants