https://bugs.llvm.org/show_bug.cgi?id=45049
Bug ID: 45049
Summary: Segfault in SelectionDAG::LegalizeTypes when compiling
optimized IR.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
Assignee: unassignedb...@nondot.org
Reporter: rsprin...@google.com
CC: llvm-bugs@lists.llvm.org
Created attachment 23181
--> https://bugs.llvm.org/attachment.cgi?id=23181&action=edit
Stack dump for the failure.
Apologies that I don't have a smaller reproducer; I've tried for ~a day to
reduce it without success.
Steps to reproduce:
1. Build (a recent?) llvm
2: Run:
llc sample.unopt.ll
-- The program compiles successfully.
3. Next run:
llc sample.opt.ll
A segfault similar to that attached will be generated.
Regarding the IR: I added a lame main() to force llc/lli/etc. to accept the IR;
the crash still happens if compiling the IR as a library function.
Sorry I don't have more investigation results to report - I just didn't manage
to get too far yet (chasing down a lot of red herrings).
The offending IR will be attached immediately.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs