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

doc: add ir spec #17

Merged
merged 1 commit into from Dec 21, 2023
Merged

doc: add ir spec #17

merged 1 commit into from Dec 21, 2023

Conversation

NeverRaR
Copy link
Collaborator

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

  • N
  • Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

  • Affects user behaviors
  • Contains CI/CD configuration changes
  • Contains documentation changes
  • Contains experimental features
  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

  • N
  • Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

  • Unit test
  • Integration test
  • Benchmark (add benchmark stats below)
  • Manual test (add detailed scripts or steps below)
  • Other

6. Release note

None

Copy link

github-actions bot commented Dec 19, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@NeverRaR
Copy link
Collaborator Author

I have read the CLA Document and I hereby sign the CLA

@NeverRaR NeverRaR requested a review from i-zhen December 19, 2023 07:52
Copy link
Contributor

@i-zhen i-zhen left a comment

Choose a reason for hiding this comment

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

LGTM

- Storage definition: `state {foo: SimpleStorage.Foo,bar: i32, }`
- Type definition: `type struct.SimpleStorage.Foo = {a: u64,b: str, }`
- Field Access:
- `get_field(%0: %struct.SimpleStorage.Foo *, 1: i32, ) -> str`(获取字段) => `get_field(%0: %struct.T*, field_idx1: i32, field_idx2: i32 ... field_idxN: i32, ) -> fieldT`
Copy link
Contributor

Choose a reason for hiding this comment

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

still chinese

Signed-off-by: never <chenxiangfei.cxf@antgroup.com>
@i-zhen i-zhen merged commit d11d373 into AntChainOpenLabs:main Dec 21, 2023
2 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants