[llvm-bugs] [Bug 26478] New: Opt crashes on loop-interchange (llvm-3.7.1)

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Feb 4 13:05:30 PST 2016


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

            Bug ID: 26478
           Summary: Opt crashes on loop-interchange (llvm-3.7.1)
           Product: tools
           Version: 3.7
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: opt
          Assignee: unassignedbugs at nondot.org
          Reporter: cyt046 at gmail.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15828
  --> https://llvm.org/bugs/attachment.cgi?id=15828&action=edit
run with `opt bug.bc -loop-interchange` to reproduce the bug

Hi.
I am experimenting with optimizations ordering (phase ordering) in LLVM
(3.7.1), and `opt` crashes in multiple occasions. I will file bug report for
the rest of the crashes later. One of the notable ones is opt crashing on
loop-interchange.

Attached is the bugpoint-reduced bitcode file. To reproduce the bug simply run
`opt bug.bc -loop-interchange`.


The crash was encountered while running following optimizations on toast (from
test-suite/MultiSource/Benchmarks/mediabench/gsm/toast, for which I link all
the bitcode files into a single one to autotune)
```
-mem2reg -strip -lower-expect -mldst-motion -lowerinvoke -mergefunc
-scalar-evolution -da -iv-users -tbaa -da -da -early-cse -scalarrepl-ssa
-regions -lowerinvoke -delinearize -basicaa -globaldce -domtree
-loop-interchange -loop-unroll -lower-expect -loop-deletion -jump-threading
-loop-vectorize -memdep -basicaa -basiccg -loop-interchange -early-cse -basiccg
-scalarrepl-ssa -loop-interchange -domtree -simplifycfg -loop-reduce -scev-aa
-instcombine -iv-users -argpromotion -gvn -delinearize -loop-reduce -irce
-deadargelim -prune-eh -inline -simplifycfg -always-inline -scalarrepl-ssa
-lowerswitch -basiccg -loop-interchange -float2int -simplifycfg -licm
-mldst-motion -scalar-evolution -loop-unswitch -basiccg -indvars
-globalsmodref-aa -indvars -loop-vectorize -mldst-motion -loop-deletion -ipsccp
-lowerswitch -licm -iv-users -intervals -basicaa -loop-unswitch -globaldce
-loop-unswitch -float2int -strip -domtree -scalar-evolution -sccp
```

-- 
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/20160204/7b76802e/attachment.html>


More information about the llvm-bugs mailing list