Skip to content

Fix code generation making liveness pass unhappy #3022

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

Closed
elliottslaughter opened this issue Jul 25, 2012 · 1 comment
Closed

Fix code generation making liveness pass unhappy #3022

elliottslaughter opened this issue Jul 25, 2012 · 1 comment
Labels
A-codegen Area: Code generation

Comments

@elliottslaughter
Copy link
Contributor

As of 668e2c8, we have enabled the LiveIRVariables LLVM pass which is a part of ongoing GC work for #2997.

Unfortunately, something in test/bench/task-perf-word-count.rs makes the LiveIRVariables pass unhappy. It seems that some LLVM optimization pass is producing an irreducible control flow graph, and LLVM's LoopSimplify pass isn't sophisticated enough to undo the damage.

As a temporary workaround, 43867bf xfails the two tests which break the liveness pass. But we should figure out what LLVM pass is causing the trouble and try to resolve that and un-xfail those tests.

@elliottslaughter
Copy link
Contributor Author

Fixed in 9c9de0b, and workaround reverted in 416584d.

@elliottslaughter elliottslaughter removed their assignment Jun 16, 2014
RalfJung pushed a commit to RalfJung/rust that referenced this issue Aug 11, 2023
replace AsAny hack by trait upcasting :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-codegen Area: Code generation
Projects
None yet
Development

No branches or pull requests

1 participant