Skip to content

[SandboxIR] Implement ConstantAggregate #107136

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 1 commit into from
Sep 4, 2024
Merged

[SandboxIR] Implement ConstantAggregate #107136

merged 1 commit into from
Sep 4, 2024

Conversation

vporpo
Copy link
Contributor

@vporpo vporpo commented Sep 3, 2024

This patch implements sandboxir:: ConstantAggregate, ConstantStruct, ConstantArray and ConstantVector, mirroring LLVM IR.

friend class Context; // For constructor.

public:
// TODO: Missing functions: getSplat(), getType(), getSplatValue().
Copy link
Member

Choose a reason for hiding this comment

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

Also get(ArrayRef<Constant *>) is missing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added it to the TODO list.

This patch implements sandboxir:: ConstantAggregate, ConstantStruct,
ConstantArray and ConstantVector, mirroring LLVM IR.
@vporpo vporpo merged commit 814aa43 into llvm:main Sep 4, 2024
5 of 7 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.

2 participants