Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Regressions in ARM LNT buildbot due to SCEV changes #18850

Closed Quuxplusone closed 10 years ago

Quuxplusone commented 10 years ago
Bugzilla Link PR18851
Status RESOLVED FIXED
Importance P normal
Reported by Renato Golin (rengolin@gmail.com)
Reported on 2014-02-15 12:27:46 -0800
Last modified on 2014-02-16 13:00:23 -0800
Version trunk
Hardware PC Linux
CC llvm-bugs@lists.llvm.org
Fixed by commit(s)
Attachments ReedSolomon-c64369.zip (48660 bytes, application/zip)
Blocks
Blocked by
See also
Created attachment 12067
source file + script

Stack trace:

1.  <eof> parser at end of file
2.  Code generation
3.  Running pass 'Function Pass Manager' on module '/external/buildbot/clang-
native-arm-lnt/test-suite/SingleSource/Benchmarks/Misc/ReedSolomon.c'.
4.  Running pass 'Loop Pass Manager' on function '@rsdec_204'
5.  Running pass 'Loop Strength Reduction' on basic block '%vector.body129'

clang: error: unable to execute command: Aborted (core dumped)
clang: error: clang frontend command failed due to signal (use -v to see
invocation)
clang version 3.5 (trunk 201465)
Target: armv7l-unknown-linux-gnueabihf

File and script attached.
Quuxplusone commented 10 years ago

Attached ReedSolomon-c64369.zip (48660 bytes, application/zip): source file + script

Quuxplusone commented 10 years ago

Introduced by:

http://llvm.org/viewvc/llvm-project?revision=201465&view=revision

Quuxplusone commented 10 years ago

Thanks for the test case!

Quuxplusone commented 10 years ago

There were three or four failures, but I'm betting that they're all the same issue. ;)

Quuxplusone commented 10 years ago
Fixed in 201496.

Successful bot with patch: http://lab.llvm.org:8011/builders/clang-native-arm-
lnt/builds/5193.

The problem in this case was that LSR wanted to reuse an induction variable of
pointer type. I was missing the cast in this case.
Quuxplusone commented 10 years ago

Thanks!