[llvm-bugs] [Bug 44002] New: Segfault in X86TargetLowering::PerformDAGCombine

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Nov 14 07:25:08 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=44002

            Bug ID: 44002
           Summary: Segfault in X86TargetLowering::PerformDAGCombine
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs at nondot.org
          Reporter: lennart.braun at posteo.de
                CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
                    llvm-dev at redking.me.uk, spatel+llvm at rotateright.com

Created attachment 22813
  --> https://bugs.llvm.org/attachment.cgi?id=22813&action=edit
reduced reproducer and run script

Hi there,

the x86 code generation of clang/LLVM crashed on my source code. I was using
LLVM 9.0 but could also reproduce the problem with llvm/trunk 375507.

I used C-Reduce [0] to obtain a minimal input file triggering the bug. Then I
used bugpoint as described in [1] to get a reduced/simplified bitcode which
kills llc.

Attached are files with the following:

* reduced source code
* script to reproduce the crash
* clang-9 stack dump
* clang-10 stack dump (llvm/trunk 375507)
* simplified llvm bit code which crashes llc

[0]: https://github.com/csmith-project/creduce
[1]: https://llvm.org/docs/HowToSubmitABug.html#code-generator-bugs

Best

Lennart

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191114/29f98442/attachment.html>


More information about the llvm-bugs mailing list