[llvm-bugs] [Bug 25096] New: 'Induction Variable Simplification' crashes SQLite3 on ARM and AArch64

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 7 08:08:23 PDT 2015


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

            Bug ID: 25096
           Summary: 'Induction Variable Simplification' crashes SQLite3 on
                    ARM and AArch64
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Loop Optimizer
          Assignee: unassignedbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 15022
  --> https://llvm.org/bugs/attachment.cgi?id=15022&action=edit
zip file with shell and C files from log.

Failures:

http://lab.llvm.org:8011/builders/clang-native-arm-lnt/builds/14453

http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/458/

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
http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and
associated run script.
clang-3.8: note: diagnostic msg:
********************

-- 
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/20151007/4ec11c53/attachment.html>


More information about the llvm-bugs mailing list