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

[Chore] SemIR is raised into JacProgram #1414

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

[Chore] SemIR is raised into JacProgram #1414

wants to merge 16 commits into from

Conversation

Jayanaka-98
Copy link
Collaborator

@Jayanaka-98 Jayanaka-98 commented Oct 30, 2024

Description

  • The semtable is not available in the jac program.
  • No pickel files will be generated.
  • To read the sem registry from within the process itself.
import from jaclang.runtimelib.machine { JacMachine }
semtable = JacMachine.get().jac_program.sem_ir;

@Jayanaka-98
Copy link
Collaborator Author

Jayanaka-98 commented Oct 30, 2024

All the tests pass on local machine (using jaclang and mtllm from source) but as jac changes are not pushed, mtllm tests fail.

@Jayanaka-98 Jayanaka-98 changed the title [Chore] MTIR is raised into the jac Program [Chore] SenIR is raised into the jac Program Oct 31, 2024
@Jayanaka-98 Jayanaka-98 changed the title [Chore] SenIR is raised into the jac Program [Chore] SenIR is raised into JacProgram Oct 31, 2024
@Jayanaka-98 Jayanaka-98 changed the title [Chore] SenIR is raised into JacProgram [Chore] SemIR is raised into JacProgram Oct 31, 2024
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