<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - 'Induction Variable Simplification' crashes SQLite3 on ARM and AArch64"
href="https://llvm.org/bugs/show_bug.cgi?id=25096">25096</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>'Induction Variable Simplification' crashes SQLite3 on ARM and AArch64
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Loop Optimizer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>renato.golin@linaro.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=15022" name="attach_15022" title="zip file with shell and C files from log.">attachment 15022</a> <a href="attachment.cgi?id=15022&action=edit" title="zip file with shell and C files from log.">[details]</a></span>
zip file with shell and C files from log.
Failures:
<a href="http://lab.llvm.org:8011/builders/clang-native-arm-lnt/builds/14453">http://lab.llvm.org:8011/builders/clang-native-arm-lnt/builds/14453</a>
<a href="http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/458/">http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/458/</a>
Log:
clang-3.8:
/home/renato.golin/buildslave/clang-cmake-aarch64-full/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:2070:
virtual bool (anonymous namespace)::IndVarSimplify::runOnLoop(llvm::Loop *,
llvm::LPPassManager &): Assertion `L->isLCSSAForm(*DT) && "Indvars did not
leave the loop in lcssa form!"' failed.
0 clang-3.8 0x000000000106c2e0 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 56
Stack dump:
0. Program arguments:
/home/renato.golin/buildslave/clang-cmake-aarch64-full/stage2.install/bin/clang-3.8
-cc1 -triple aarch64-unknown-linux-gnu -emit-obj -disable-free -main-file-name
sqlite3.c -mrelocation-model static -mthread-model posix -fmath-errno
-masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu cortex-a57
-target-feature +neon -target-feature +crc -target-feature +crypto -target-abi
aapcs -dwarf-column-info -coverage-file
/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/sandbox/build/MultiSource/Applications/sqlite3/Output/sqlite3.llvm.o
-resource-dir
/home/renato.golin/buildslave/clang-cmake-aarch64-full/stage2.install/bin/../lib/clang/3.8.0
-D STDC_HEADERS=1 -D HAVE_SYS_TYPES_H=1 -D HAVE_SYS_STAT_H=1 -D HAVE_STDLIB_H=1
-D HAVE_STRING_H=1 -D HAVE_MEMORY_H=1 -D HAVE_STRINGS_H=1 -D HAVE_INTTYPES_H=1
-D HAVE_STDINT_H=1 -D HAVE_UNISTD_H=1 -D SQLITE_OMIT_LOAD_EXTENSION=1 -D
SQLITE_THREADSAFE=0 -I . -I
/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/sandbox/build/MultiSource/Applications/sqlite3
-I
/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/test-suite/MultiSource/Applications/sqlite3
-I
/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/test-suite/include
-I ../../..//include -D _GNU_SOURCE -D __STDC_LIMIT_MACROS -D NDEBUG
-internal-isystem /usr/local/include -internal-isystem
/home/renato.golin/buildslave/clang-cmake-aarch64-full/stage2.install/bin/../lib/clang/3.8.0/include
-internal-externc-isystem /usr/include/aarch64-linux-gnu
-internal-externc-isystem /include -internal-externc-isystem /usr/include -O3
-fdebug-compilation-dir
/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/sandbox/build/MultiSource/Applications/sqlite3
-ferror-limit 19 -fmessage-length 0 -fallow-half-arguments-and-returns
-fno-signed-char -fobjc-runtime=gcc -fdiagnostics-show-option -vectorize-loops
-vectorize-slp -o Output/sqlite3.llvm.o -x c
/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/test-suite/MultiSource/Applications/sqlite3/sqlite3.c
1. <eof> parser at end of file
2. Per-module optimization passes
3. Running pass 'CallGraph Pass Manager' on module
'/home/renato.golin/buildslave/clang-cmake-aarch64-full/test/test-suite/MultiSource/Applications/sqlite3/sqlite3.c'.
4. Running pass 'Loop Pass Manager' on function '@sqlite3_clear_bindings'
5. Running pass 'Induction Variable Simplification' on basic block
'%sqlite3_bind_parameter_count.exit.us'
clang-3.8: error: unable to execute command: Aborted
clang-3.8: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.8.0 (trunk 249523)
Target: aarch64-unknown-linux-gnu
Thread model: posix
InstalledDir:
/home/renato.golin/buildslave/clang-cmake-aarch64-full/stage2.install/bin
clang-3.8: note: diagnostic msg: PLEASE submit a bug report to
<a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.8: note: diagnostic msg:
********************</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>