[llvm] r249528 - Revert "This patch builds on top of D13378 to handle constant condition."

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 7 08:04:24 PDT 2015


> On Oct 7, 2015, at 4:29 AM, Renato Golin via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> On 7 October 2015 at 10:03, James Molloy via llvm-commits
> <llvm-commits at lists.llvm.org> wrote:
>> URL: http://llvm.org/viewvc/llvm-project?rev=249528&view=rev
>> Log:
>> Revert "This patch builds on top of D13378 to handle constant condition."
>> 
>> This reverts commit r249431. This caused failures in sqlite3: http://lab.llvm.org:8011/builders/clang-native-arm-lnt/builds/14453
> 
> Thanks James,
> 
> FYI, It also caused the same trouble in AArch64:
> 
> http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/458/

Great, this bot run with assert, which provides more information!

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: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-3.8: note: diagnostic msg: /tmp/sqlite3-ae14f6.c
clang-3.8: note: diagnostic msg: /tmp/sqlite3-ae14f6.sh
clang-3.8: note: diagnostic msg: 

********************


Can you get the two files for the repro?

Thanks,

—
Mehdi



More information about the llvm-commits mailing list