Skip to content

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

Merged
vchuravy merged 4 commits intobackports-release-1.10from
vc/loopinfo-1.10
Oct 28, 2023
Merged

Backport "Fix Expr(:loopinfo) codegen"#51883
vchuravy merged 4 commits intobackports-release-1.10from
vc/loopinfo-1.10

Conversation

@vchuravy
Copy link
Copy Markdown
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
@vchuravy vchuravy deleted the vc/loopinfo-1.10 branch October 28, 2023 15:52
@KristofferC KristofferC mentioned this pull request Mar 5, 2026
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