Skip to content

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
@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