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

Code generator needs DominatorTree #1725

Closed
lattner opened this issue Apr 25, 2007 · 2 comments
Closed

Code generator needs DominatorTree #1725

lattner opened this issue Apr 25, 2007 · 2 comments
Labels
bugzilla Issues migrated from bugzilla llvm:codegen

Comments

@lattner
Copy link
Collaborator

lattner commented Apr 25, 2007

Bugzilla Link 1353
Resolution FIXED
Resolved on Feb 18, 2008 00:59
Version trunk
OS All

Extended Description

Various bits of the code generator need dominator information. The register allocator wants loop depth to
compute spill weight, and future phi elimination stuff need dominator information. Currently we look
back at the LLVM CFG, but this doesn't work well for multiple reasons (there is a many to one mapping
from llvm bb to MBBs, MBB edges can get deleted, etc).

-Chris

@lattner
Copy link
Collaborator Author

lattner commented May 23, 2007

From dominators, we would build natural loop info.

@lattner
Copy link
Collaborator Author

lattner commented Feb 18, 2008

Owen implemented this.

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
troelsbjerre pushed a commit to troelsbjerre/llvm-project that referenced this issue Jan 10, 2024
[CodeGen] Make sure the EH cleanup for block captures is conditional …
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla llvm:codegen
Projects
None yet
Development

No branches or pull requests

1 participant