Allow multiple entry points when allocating recursive groups (#9303)
Summary: In this example we ended up with some code that was only reachable via an info table, because a branch had been optimised away by the native code generator. The register allocator then got confused because it was only considering the first block of the proc to be an entry point, when actually any of the info tables are entry points. Test Plan: validate Reviewers: simonpj, austin Subscribers: simonmar, relrod, carter Differential Revision: https://phabricator.haskell.org/D88
Showing
- compiler/nativeGen/RegAlloc/Linear/Main.hs 24 additions, 24 deletionscompiler/nativeGen/RegAlloc/Linear/Main.hs
- compiler/nativeGen/RegAlloc/Liveness.hs 15 additions, 11 deletionscompiler/nativeGen/RegAlloc/Liveness.hs
- testsuite/tests/codeGen/should_compile/T9303.hs 10 additions, 0 deletionstestsuite/tests/codeGen/should_compile/T9303.hs
- testsuite/tests/codeGen/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/codeGen/should_compile/all.T
Loading
Please register or sign in to comment