[llvm-bugs] [Bug 46786] New: ScalarEvolution::getGEPExpr assertion failure "GEP should not change type mid-flight."

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Jul 21 00:47:44 PDT 2020


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

            Bug ID: 46786
           Summary: ScalarEvolution::getGEPExpr assertion failure "GEP
                    should not change type mid-flight."
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Global Analyses
          Assignee: unassignedbugs at nondot.org
          Reporter: tibor.klajnscek at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 23758
  --> https://bugs.llvm.org/attachment.cgi?id=23758&action=edit
Command line and crash log

Hit this yesterday:
Assertion failed: BaseExpr->getType() == GEPExpr->getType() && "GEP should not
change type mid-flight.", file
D:\SDK\emscripten_source\llvm-project\llvm\lib\Analysis\ScalarEvolution.cpp,
line 3322
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash
backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments:
d:\SDK\emscripten_source\llvm-project\build2\Debug\bin\clang.exe -cc1 -triple
wasm32-unknown-emscripten -emit-obj -main-file-name zstddecoder.cpp
-debugger-tuning=gdb -sys-header-deps -O2 -std=c++11 -x c++
zstddecoder-c518f3.cpp
1.      <eof> parser at end of file
2.      Per-module optimization passes
3.      Running pass 'CallGraph Pass Manager' on module
'zstddecoder-c518f3.cpp'.
4.      Running pass 'Loop Pass Manager' on function
'@_ZL34FSE_decompress_usingDTable_genericPvmPKvmPKjj'
5.      Running pass 'Induction Variable Simplification' on basic block
'%if.end.i490'

-- 
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/20200721/ce5b75b9/attachment.html>


More information about the llvm-bugs mailing list