Skip to content

[SandboxIR] Implement PoisonValue #107324

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 6, 2024
Merged

[SandboxIR] Implement PoisonValue #107324

merged 1 commit into from
Sep 6, 2024

Conversation

vporpo
Copy link
Contributor

@vporpo vporpo commented Sep 4, 2024

This patch implements sandboxir::PoisonValue mirroring llvm::PoisonValue.

return From->getSubclassID() == ClassID::PoisonValue;
}
unsigned getUseOperandNo(const Use &Use) const final {
llvm_unreachable("ConstantAggregateZero has no operands!");
Copy link
Member

Choose a reason for hiding this comment

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

"PoisonValue has no operands!"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed.

This patch implements sandboxir::PoisonValue mirroring llvm::PoisonValue.
Copy link
Member

@tmsri tmsri left a comment

Choose a reason for hiding this comment

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

LGTM otherwise.

@vporpo vporpo merged commit fd2da9e into llvm:main Sep 6, 2024
4 of 5 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