[llvm-dev] llc gives Segmentation fault at instruction selection [was Re: Instruction selection gives "LLVM ERROR: Cannot select"]
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Thu Feb 4 09:57:34 PST 2016
On 4 February 2016 at 03:19, RCU <alex.e.susu at gmail.com> wrote:
> But now I bumped into another serious problem: llc gives segmentation
> fault while doing instruction select on the store.
Are you building with assertions enabled? You can get segfaults still,
but they're much rarer.
Other than that, I'm afraid I don't know what the problem is. If
you've got custom C++ to handle stores in some way, that would be the
first place to look. It seems to be happening while creating a node,
so it's obviously also worth investigating where Ops comes from there.
> I can provide the entire DOT output with -view-isel-dags
I'd certainly be willing to look at that file for anything malformed or odd.
More information about the llvm-dev