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

Backport "Fix Expr(:loopinfo) codegen" #51883

Merged
merged 4 commits into from
Oct 28, 2023

Conversation

vchuravy
Copy link
Member

Backport #50663 to 1.10

We used a loop-marker intrinsic because the LoopID used to
be dropped by optimization passes (this seems no longer true).

got optimized by simplifycfg to the point where the loop-marker
is now attached to the wrong back-edge.

This PR drops the loop-marker and uses the LoopID metadata node
directly.

(cherry picked from commit 90494c2)
@vchuravy vchuravy mentioned this pull request Oct 26, 2023
31 tasks
@brenhinkeller brenhinkeller added compiler:codegen Generation of LLVM IR and native code bugfix This change fixes an existing bug labels Oct 26, 2023
@vchuravy vchuravy merged commit cba88c1 into backports-release-1.10 Oct 28, 2023
6 checks passed
@vchuravy vchuravy deleted the vc/loopinfo-1.10 branch October 28, 2023 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This change fixes an existing bug compiler:codegen Generation of LLVM IR and native code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants