[llvm-bugs] [Bug 39645] New: opt crashes with -loop-deletion pass

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Nov 13 04:05:26 PST 2018


            Bug ID: 39645
           Summary: opt crashes with -loop-deletion pass
           Product: libraries
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: cszide at 163.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21115
  --> https://bugs.llvm.org/attachment.cgi?id=21115&action=edit
reduced file produced by bugpoint

Running opt crashes with pass -loop-deletion on the attached .bc.
The test system is Ubuntu 18.04, x86_64. I have tested it using llvm 6.0 and
the latest llvm code from github.

The following is the output:

Load operand must be a pointer.
  %44 = load i32, void LLVMSymbolizer: error reading file: No such file or
#0 0x0000000001a68794 (opt+0x1a68794)
#1 0x0000000001a68a76 (opt+0x1a68a76)
#2 0x00007fdac5698890 __restore_rt
#3 0x0000000001542955 (opt+0x1542955)
#4 0x000000000154172f (opt+0x154172f)
#5 0x000000000153c4fc (opt+0x153c4fc)
#6 0x0000000001537c28 (opt+0x1537c28)
#7 0x000000000165c9cc (opt+0x165c9cc)
#8 0x000000000165130a (opt+0x165130a)
#9 0x00000000016403d8 (opt+0x16403d8)
#10 0x0000000001660b8d (opt+0x1660b8d)
#11 0x00000000016021eb (opt+0x16021eb)
#12 0x0000000001602453 (opt+0x1602453)
#13 0x0000000001602858 (opt+0x1602858)
#14 0x000000000075b292 (opt+0x75b292)
#15 0x00007fdac456bb97 __libc_start_main
#16 0x000000000074c1b9 (opt+0x74c1b9)
Stack dump:
0.      Program arguments: opt -loop-deletion bugpoint-reduced-simplified.bc
1.      Running pass 'Function Pass Manager' on module
2.      Running pass 'Module Verifier' on function '@put2bitbwtile'
Segmentation fault (core dumped)

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/20181113/2723da11/attachment-0001.html>

More information about the llvm-bugs mailing list