
#13062: `opt' failed in phase `LLVM Optimiser'. (Exit code: -11) -------------------------------------+------------------------------------- Reporter: 2bdkid | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (LLVM) | Version: 8.0.1 Resolution: | Keywords: LLVM | Optimiser -11 Operating System: Linux | Architecture: arm Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by harendra): Multiple data points suggest that it does not look like a memory issue. However, we could workaround the bug by splitting the long list. So it looks like `opt` cannot handle the code generated by GHC for a list that is too long. If someone knowledgable about the llvm/IR can pinpoint the issue or raise a bug with llvm upstream that will be helpful. This was working with an earlier version of GHC/LLVM so it is possible that this can be fixed easily. If it is non-trivial to fix for llvm/opt we can just close it and just avoid long lists. In that case, maybe GHC can issue a warning about long list so the the programmer can take appropriate action. In this particular case the list holds static data to initialize a bitmap, maybe this is just a rare use case for such a long list. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13062#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler