[cfe-commits] [PATCH] Mark ARCMT test cases as XFAIL on ARM

陳韋任 (Wei-Ren Chen) chenwj at iis.sinica.edu.tw
Wed Sep 19 20:55:29 PDT 2012


Hi David,

  I tried your trick, and the result is very close to yours (see attach). Ya!

> I've just finished a build on arm with a no-arguments ./configure and I can reproduce your failures. It looks like if you use --with-abi=aapcs then it assumes that the natural platform calling convention is being used unless told otherwise (so no markers), while without it seems to have a different "default" calling convention but then decide to use the aapcs convention everywhere anyway so it has to stick an explicit convention marker on the function signature. As stated, this breaks the testing regexps (although probably the compiler actually produces working code).

  Aren't aapcs the ARM calling convention standard? Why it's not the default on
ARM platform, and we need to spell it out?

> My feeling is that, with regard to fixing regression test issues, it's simplest to say that if you're using an armv7l or higher, you have to specify --with-abi=aapcs when doing a build you're going to test. Possibly this ought to be mentioned in some documentation, but beyond that I think it's of less priority than looking at other issues encountered using LLVM on ARM.

  I think your configuration options definitely have to be documented somewhere
(either on [1] or [2], any better idea?). And just to make sure, are the options
you gave me are LLVM configure's? Since I don't see them (--with-abi, for example)
on `$LLVM_SRC/configure --help`. :/

> (Apologies for the slow reply: building everything from scratch on a pandaboard took a while...)

  No problem, I know it takes time. ;)

Regards,
chenwj

[1] http://llvm.org/docs/GettingStarted.html
[2] http://llvm.org/docs/TestingGuide.html

-- 
Wei-Ren Chen (陳韋任)
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
Homepage: http://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
llvm[0]: Running test suite
make[1]: Entering directory `/nfs_home/chenwj/llvm-3.1/svn/build/test'
Making LLVM 'lit.site.cfg' file...
Making LLVM unittest 'lit.site.cfg' file...
make -C /nfs_home/chenwj/llvm-3.1/svn/build/test/../tools/clang/test lit.site.cfg Unit/lit.site.cfg
make[2]: Entering directory `/nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test'
Making Clang 'lit.site.cfg' file...
Making Clang 'Unit/lit.site.cfg' file...
make[2]: Leaving directory `/nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test'
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; \
	  /nfs_home/chenwj/llvm-3.1/svn/llvm/utils/lit/lit.py -s -v . /nfs_home/chenwj/llvm-3.1/svn/build/test/../tools/clang/test )
-- Testing: 11857 tests, 2 threads --
Testing: 0 
FAIL: Clang :: CXX/conv/conv.prom/p2.cpp (390 of 11857)
******************** TEST 'Clang :: CXX/conv/conv.prom/p2.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -fsyntax-only -verify -std=c++0x -ffreestanding /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CXX/conv/conv.prom/p2.cpp
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -fsyntax-only -verify -std=c++0x -fshort-wchar -ffreestanding /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CXX/conv/conv.prom/p2.cpp
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics seen but not expected: 
  Line 10: redefinition of 'promoted_wchar' with a different type
error: 'note' diagnostics seen but not expected: 
  Line 9: previous definition is here
2 errors generated.
--

********************
Testing: 0 ..
XPASS: Clang :: CodeGen/2008-01-25-ByValReadNone.c (1058 of 11857)
******************** TEST 'Clang :: CodeGen/2008-01-25-ByValReadNone.c' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -emit-llvm -o - /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGen/2008-01-25-ByValReadNone.c | not grep readonly
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -emit-llvm -o - /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGen/2008-01-25-ByValReadNone.c | not grep readnone
--
Exit Code: 0

********************
Testing: 0 .. 10
FAIL: Clang :: CodeGenCXX/compound-literals.cpp (1648 of 11857)
******************** TEST 'Clang :: CodeGenCXX/compound-literals.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -emit-llvm -o - /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/compound-literals.cpp | FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/compound-literals.cpp
--
Exit Code: 1
Command Output (stderr):
--
/nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/compound-literals.cpp:42:10: warning: pointer is initialized by a temporary array, which will be destroyed at the end of the full-expression
int *p = (Z){ {1, 2, 3} }.i;
         ^~~~~~~~~~~~~~~~~~
/nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/compound-literals.cpp:121:17: error: expected string not found in input
 warning  generated.
// CHECK-NEXT: call void @_ZN1XC1EPKc({{.*}}[[X]]
                ^
<stdin>:20:2: note: scanning from here
 %call = call %struct.X* @_ZN1XC1EPKc(%struct.X* %x, i8* getelementptr inbounds ([10 x i8]* @.str, i32 0, i32 0))
 ^
<stdin>:20:2: note: with variable "X" equal to "%x"
 %call = call %struct.X* @_ZN1XC1EPKc(%struct.X* %x, i8* getelementptr inbounds ([10 x i8]* @.str, i32 0, i32 0))
 ^
<stdin>:20:15: note: possible intended match here
 %call = call %struct.X* @_ZN1XC1EPKc(%struct.X* %x, i8* getelementptr inbounds ([10 x i8]* @.str, i32 0, i32 0))
              ^
--

********************
Testing: 0 .. 10
FAIL: Clang :: CodeGenCXX/devirtualize-virtual-function-calls-final.cpp (1757 of 11857)
******************** TEST 'Clang :: CodeGenCXX/devirtualize-virtual-function-calls-final.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -std=c++11 /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp -emit-llvm -o - | FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
--
Exit Code: 1
Command Output (stderr):
--
Function return type does not match operand type of return inst!
  ret %"struct.Test6::D"* %this1
 %"struct.Test6::A"*Broken module found, compilation aborted!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -std=c++11 /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/devirtualize-virtual-function-calls-final.cpp -emit-llvm -o - 
1.	<eof> parser at end of file
2.	Per-function optimization
3.	Running pass 'Module Verifier' on function '@_ZN5Test61DD1Ev'
FileCheck error: '-' is empty.
--

********************
Testing: 0 .. 10
XPASS: Clang :: CodeGenCXX/member-alignment.cpp (1838 of 11857)
******************** TEST 'Clang :: CodeGenCXX/member-alignment.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include -emit-llvm /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/member-alignment.cpp -o - | FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/member-alignment.cpp
--
Exit Code: 0

********************
Testing: 0 .. 10.
FAIL: Clang :: CodeGenCXX/throw-expression-cleanup.cpp (1936 of 11857)
******************** TEST 'Clang :: CodeGenCXX/throw-expression-cleanup.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -cc1 -internal-isystem /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/../lib/clang/3.2/include /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/throw-expression-cleanup.cpp -emit-llvm -fcxx-exceptions -fexceptions -std=c++11 -o - | FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/throw-expression-cleanup.cpp
--
Exit Code: 1
Command Output (stderr):
--
/nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/CodeGenCXX/throw-expression-cleanup.cpp:18:11: error: expected string not found in input
// CHECK: call void @_ZN5ErrorC1ERK1X
          ^
<stdin>:12:19: note: scanning from here
define void @_Z1fv() {
                  ^
<stdin>:19:20: note: possible intended match here
 %call = call %struct.Error* @_ZN5ErrorC1ERK1X(%struct.Error* %0, %struct.X* %ref.tmp) nounwind
                   ^
--

********************
Testing: 0 .. 10.. 
FAIL: Clang :: Driver/hello.c (2379 of 11857)
******************** TEST 'Clang :: Driver/hello.c' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  -ccc-echo -o /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/Driver/Output/hello.c.tmp.exe /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/Driver/hello.c 2> /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/Driver/Output/hello.c.tmp.log
grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c' /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/Driver/Output/hello.c.tmp.log
/nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/Driver/Output/hello.c.tmp.exe > /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/Driver/Output/hello.c.tmp.out
grep "I'm a little driver, short and stout." /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/Driver/Output/hello.c.tmp.out
--
Exit Code: 1

********************
Testing: 0 .. 10.. 20
FAIL: Clang :: PCH/cxx-typeid.cpp (2885 of 11857)
******************** TEST 'Clang :: PCH/cxx-typeid.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  -include /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/PCH/cxx-typeid.h -fsyntax-only -Xclang -verify /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/PCH/cxx-typeid.cpp
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  -ccc-pch-is-pch -x c++-header -o /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/PCH/Output/cxx-typeid.cpp.tmp.gch /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/PCH/cxx-typeid.h
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  -ccc-pch-is-pch -include /nfs_home/chenwj/llvm-3.1/svn/build/tools/clang/test/PCH/Output/cxx-typeid.cpp.tmp -fsyntax-only -Xclang -verify /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/PCH/cxx-typeid.cpp
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics seen but not expected: 
  Line 3: 'typeinfo' file not found
1 error generated.
--

********************
Testing: 0 .. 10.. 20.. 
FAIL: Clang :: Sema/return.c (3648 of 11857)
******************** TEST 'Clang :: Sema/return.c' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/Sema/return.c -fsyntax-only -Wignored-qualifiers -Wno-error=return-type -Xclang -verify -fblocks -Wno-unreachable-code -Wno-unused-value
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics seen but not expected: 
  Line 324: 'bits/predefs.h' file not found
error: 'warning' diagnostics expected but not seen: 
  Line 228: control reaches end of non-void function
  Line 229: control reaches end of non-void function
  Line 234: control may reach end of non-void function
  Line 240: control reaches end of non-void function
  Line 243: 'const' type qualifier on return type has no effect
  Line 244: 'const volatile' type qualifiers on return type have no effect
  Line 245: 'const volatile restrict' type qualifiers on return type have no effect
8 errors generated.
--

********************
Testing: 0 .. 10.. 20.. 
FAIL: Clang :: Sema/wchar.c (3730 of 11857)
******************** TEST 'Clang :: Sema/wchar.c' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/Sema/wchar.c -fsyntax-only -Xclang -verify
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang  /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/Sema/wchar.c -fsyntax-only -fshort-wchar -Xclang -verify -DSHORT_WCHAR
--
Exit Code: 1
Command Output (stderr):
--
error: 'error' diagnostics seen but not expected: 
  Line 18: array initializer must be an initializer list
1 error generated.
--

********************
Testing: 0 .. 10.. 20.. 30..
FAIL: Clang :: SemaTemplate/example-dynarray.cpp (4699 of 11857)
******************** TEST 'Clang :: SemaTemplate/example-dynarray.cpp' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/clang -ccc-clang-cxx -ccc-cxx  -emit-llvm -c -o - /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/SemaTemplate/example-dynarray.cpp
--
Exit Code: 1
Command Output (stderr):
--
In file included from /nfs_home/chenwj/llvm-3.1/svn/llvm/tools/clang/test/SemaTemplate/example-dynarray.cpp:3:
In file included from /usr/include/stdlib.h:25:
/usr/include/features.h:324:10: fatal error: 'bits/predefs.h' file not found
#include <bits/predefs.h>
         ^
1 error generated.
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.
FAIL: LLVM :: Analysis/Profiling/load-branch-weights-loops.ll (5473 of 11857)
******************** TEST 'LLVM :: Analysis/Profiling/load-branch-weights-loops.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/opt -insert-edge-profiling -o /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1 < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-loops.ll
rm -f /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1.prof_data
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1      -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1.prof_data
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/opt -profile-file /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1.prof_data -profile-metadata-loader -S -o - < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-loops.ll      | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-loops.ll
rm -f /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1.prof_data
--
Exit Code: 134
Command Output (stderr):
--
%R4<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1 -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1.prof_data 
1.	Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.script: line 5: 27042 Aborted                 /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1 -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-loops.ll.tmp1.prof_data
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.
FAIL: LLVM :: Analysis/Profiling/load-branch-weights-ifs.ll (5474 of 11857)
******************** TEST 'LLVM :: Analysis/Profiling/load-branch-weights-ifs.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/opt -insert-edge-profiling -o /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1 < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-ifs.ll
rm -f /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1      -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/opt -profile-file /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data -profile-metadata-loader -S -o - < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-ifs.ll      | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-ifs.ll
rm -f /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
--
Exit Code: 134
Command Output (stderr):
--
%R4<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1 -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data 
1.	Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.script: line 5: 27040 Aborted                 /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1 -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-ifs.ll.tmp1.prof_data
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.
FAIL: LLVM :: Analysis/Profiling/load-branch-weights-switches.ll (5475 of 11857)
******************** TEST 'LLVM :: Analysis/Profiling/load-branch-weights-switches.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/opt -insert-edge-profiling -o /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1 < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-switches.ll
rm -f /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1.prof_data
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1      -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1.prof_data
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/opt -profile-file /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1.prof_data -profile-metadata-loader -S -o - < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-switches.ll      | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/Analysis/Profiling/load-branch-weights-switches.ll
rm -f /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1.prof_data
--
Exit Code: 134
Command Output (stderr):
--
%R4<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1 -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1.prof_data 
1.	Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.script: line 5: 27048 Aborted                 /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -load /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/lib/libprofile_rt.so /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1 -llvmprof-output /nfs_home/chenwj/llvm-3.1/svn/build/test/Analysis/Profiling/Output/load-branch-weights-switches.ll.tmp1.prof_data
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: CodeGen/ARM/reg_sequence.ll (6172 of 11857)
******************** TEST 'LLVM :: CodeGen/ARM/reg_sequence.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/llc < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/reg_sequence.ll -march=arm -mcpu=cortex-a8 | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/reg_sequence.ll
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/llc < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/reg_sequence.ll -march=arm -mcpu=cortex-a8 -regalloc=basic | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/reg_sequence.ll
--
Exit Code: 1
Command Output (stderr):
--
/nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/reg_sequence.ll:144:10: error: expected string not found in input
; CHECK: vld2.16 {d{{[0-9]+}}[1], d{{[0-9]+}}[1]}, [r0]
         ^
<stdin>:129:2: note: scanning from here
 vuzp.32 q8, q9
 ^
<stdin>:201:2: note: possible intended match here
 vld3.8 {d18, d19, d20}, [r3]
 ^
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: CodeGen/ARM/twoaddrinstr.ll (6224 of 11857)
******************** TEST 'LLVM :: CodeGen/ARM/twoaddrinstr.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/llc -march=arm -mcpu=cortex-a9 < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/twoaddrinstr.ll | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/twoaddrinstr.ll
--
Exit Code: 1
Command Output (stderr):
--
/nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/twoaddrinstr.ll:7:10: error: expected string not found in input
; CHECK: vld1.32
         ^
<stdin>:15:10: note: scanning from here
PR13378: @ @PR13378
         ^
<stdin>:18:2: note: possible intended match here
 vld1.64 {d0, d1}, [r0]
 ^
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: CodeGen/ARM/vbsl-constant.ll (6241 of 11857)
******************** TEST 'LLVM :: CodeGen/ARM/vbsl-constant.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/llc < /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/vbsl-constant.ll -march=arm -mattr=+neon | /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/FileCheck /nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/vbsl-constant.ll
--
Exit Code: 1
Command Output (stderr):
--
/nfs_home/chenwj/llvm-3.1/svn/llvm/test/CodeGen/ARM/vbsl-constant.ll:62:9: error: expected string not found in input
;CHECK: vld1.32
        ^
<stdin>:79:11: note: scanning from here
v_bslQi8: @ @v_bslQi8
          ^
<stdin>:81:2: note: possible intended match here
 vld1.64 {d18, d19}, [r2]
 ^
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/2002-12-16-ArgTest.ll (8864 of 11857)
******************** TEST 'LLVM :: ExecutionEngine/2002-12-16-ArgTest.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/2002-12-16-ArgTest.ll > /dev/null
--
Exit Code: 134
Command Output (stderr):
--
%R0<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/2002-12-16-ArgTest.ll 
1.	Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/llvm-3.1/svn/build/test/ExecutionEngine/Output/2002-12-16-ArgTest.ll.script: line 1:  7410 Aborted                 /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/2002-12-16-ArgTest.ll > /dev/null
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/MCJIT/pr13727.ll (8907 of 11857)
******************** TEST 'LLVM :: ExecutionEngine/MCJIT/pr13727.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -use-mcjit -O0 -disable-lazy-compilation=false /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/MCJIT/pr13727.ll
--
Exit Code: 139
Command Output (stderr):
--
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -use-mcjit -O0 -disable-lazy-compilation=false /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/MCJIT/pr13727.ll 
/nfs_home/chenwj/llvm-3.1/svn/build/test/ExecutionEngine/MCJIT/Output/pr13727.ll.script: line 1:  7510 Segmentation fault      /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli -use-mcjit -O0 -disable-lazy-compilation=false /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/MCJIT/pr13727.ll
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/test-fp-no-external-funcs.ll (8945 of 11857)
******************** TEST 'LLVM :: ExecutionEngine/test-fp-no-external-funcs.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli  /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/test-fp-no-external-funcs.ll > /dev/null
--
Exit Code: 134
Command Output (stderr):
--
Unhandled instruction encoding format!
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:541!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/test-fp-no-external-funcs.ll 
1.	Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/llvm-3.1/svn/build/test/ExecutionEngine/Output/test-fp-no-external-funcs.ll.script: line 1:  7586 Aborted                 /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/test-fp-no-external-funcs.ll > /dev/null
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: LLVM :: ExecutionEngine/test-fp.ll (8946 of 11857)
******************** TEST 'LLVM :: ExecutionEngine/test-fp.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/test-fp.ll > /dev/null
--
Exit Code: 134
Command Output (stderr):
--
Unhandled instruction encoding format!
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:541!
Stack dump:
0.	Program arguments: /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/test-fp.ll 
1.	Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/llvm-3.1/svn/build/test/ExecutionEngine/Output/test-fp.ll.script: line 1:  7588 Aborted                 /nfs_home/chenwj/llvm-3.1/svn/build/Debug+Asserts/bin/lli /nfs_home/chenwj/llvm-3.1/svn/llvm/test/ExecutionEngine/test-fp.ll > /dev/null
--

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JIT.GlobalInFunction (11641 of 11857)
******************** TEST 'LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JIT.GlobalInFunction' FAILED ********************
Note: Google Test filter = JIT.GlobalInFunction
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from JIT
[ RUN      ] JIT.GlobalInFunction
%R1<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Running pass 'ARM Machine Code Emitter' on function '@F1'

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JITTest.AvailableExternallyGlobalIsntEmitted (11651 of 11857)
******************** TEST 'LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JITTest.AvailableExternallyGlobalIsntEmitted' FAILED ********************
Note: Google Test filter = JITTest.AvailableExternallyGlobalIsntEmitted
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from JITTest
[ RUN      ] JITTest.AvailableExternallyGlobalIsntEmitted
%R0<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Running pass 'ARM Machine Code Emitter' on function '@loader'

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JITTest.FunctionPointersOutliveTheirCreator (11652 of 11857)
******************** TEST 'LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JITTest.FunctionPointersOutliveTheirCreator' FAILED ********************
Note: Google Test filter = JITTest.FunctionPointersOutliveTheirCreator
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from JITTest
[ RUN      ] JITTest.FunctionPointersOutliveTheirCreator
%R0<tied0>Unsupported operand type for movw/movt
UNREACHABLE executed at /nfs_home/chenwj/llvm-3.1/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:439!
Stack dump:
0.	Running pass 'ARM Machine Code Emitter' on function '@get_foo_addr'

********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Testing Time: 1448.29s
********************
Unexpected Passing Tests (2):
    Clang :: CodeGen/2008-01-25-ByValReadNone.c
    Clang :: CodeGenCXX/member-alignment.cpp

********************
Failing Tests (22):
    Clang :: CXX/conv/conv.prom/p2.cpp
    Clang :: CodeGenCXX/compound-literals.cpp
    Clang :: CodeGenCXX/devirtualize-virtual-function-calls-final.cpp
    Clang :: CodeGenCXX/throw-expression-cleanup.cpp
    Clang :: Driver/hello.c
    Clang :: PCH/cxx-typeid.cpp
    Clang :: Sema/return.c
    Clang :: Sema/wchar.c
    Clang :: SemaTemplate/example-dynarray.cpp
    LLVM :: Analysis/Profiling/load-branch-weights-ifs.ll
    LLVM :: Analysis/Profiling/load-branch-weights-loops.ll
    LLVM :: Analysis/Profiling/load-branch-weights-switches.ll
    LLVM :: CodeGen/ARM/reg_sequence.ll
    LLVM :: CodeGen/ARM/twoaddrinstr.ll
    LLVM :: CodeGen/ARM/vbsl-constant.ll
    LLVM :: ExecutionEngine/2002-12-16-ArgTest.ll
    LLVM :: ExecutionEngine/MCJIT/pr13727.ll
    LLVM :: ExecutionEngine/test-fp-no-external-funcs.ll
    LLVM :: ExecutionEngine/test-fp.ll
    LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JIT.GlobalInFunction
    LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JITTest.AvailableExternallyGlobalIsntEmitted
    LLVM-Unit :: ExecutionEngine/JIT/Debug+Asserts/JITTests/JITTest.FunctionPointersOutliveTheirCreator

  Expected Passes    : 11718
  Expected Failures  : 101
  Unsupported Tests  : 14
  Unexpected Passes  : 2
  Unexpected Failures: 22
make[1]: Leaving directory `/nfs_home/chenwj/llvm-3.1/svn/build/test'


More information about the cfe-commits mailing list