Skip to content

C++: buffer read side effects on unmodeled funcs#2150

Merged
dbartol merged 4 commits intogithub:masterfrom
rdmarsh2:rdmarsh/cpp/ir-buffer-read-call-se
Oct 31, 2019
Merged

C++: buffer read side effects on unmodeled funcs#2150
dbartol merged 4 commits intogithub:masterfrom
rdmarsh2:rdmarsh/cpp/ir-buffer-read-call-se

Conversation

@rdmarsh2
Copy link
Contributor

No description provided.

@rdmarsh2 rdmarsh2 requested a review from a team as a code owner October 17, 2019 21:02
@rdmarsh2 rdmarsh2 added the C++ label Oct 17, 2019
Copy link

@dbartol dbartol left a comment

Choose a reason for hiding this comment

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

Otherwise LGTM, pending merge conflict resolution.

not result instanceof DerivedType and
operandTag instanceof SideEffectOperandTag
if hasSpecificReadSideEffect(any(Opcode::BufferReadSideEffect op))
then result instanceof UnknownType
Copy link

Choose a reason for hiding this comment

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

Don't you need to bind tag and operandTag in the then branch as well?

Copy link

@dbartol dbartol left a comment

Choose a reason for hiding this comment

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

LGTM

@dbartol dbartol merged commit 2f63ab0 into github:master Oct 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants