Skip to content

SSA: Make barrier guards a parameterized module #16952

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
Jul 11, 2024

Conversation

hvitved
Copy link
Contributor

@hvitved hvitved commented Jul 11, 2024

So as to avoid having to compute the barrier guards logic for all possible guards up front.

Comment on lines +1330 to +1333
e = DfInput::getARead(_)
or
DfInput::ssaDefAssigns(_, e) and
isPost = false

Check warning

Code scanning / CodeQL

Var only used in one side of disjunct. Warning

The
variable isPost
is only used in one side of disjunct.
@hvitved hvitved added the no-change-note-required This PR does not need a change note label Jul 11, 2024
@hvitved hvitved marked this pull request as ready for review July 11, 2024 11:02
@hvitved hvitved requested a review from MathiasVP July 11, 2024 11:02
Copy link
Contributor

@MathiasVP MathiasVP left a comment

Choose a reason for hiding this comment

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

LGTM!

@hvitved hvitved merged commit 9794269 into github:main Jul 11, 2024
31 checks passed
@hvitved hvitved deleted the ssa/barrier-guards-param-mod branch July 11, 2024 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-change-note-required This PR does not need a change note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants