On 07/ 8/11 05:26 PM, Eli Friedman wrote:> Given that revision range, the only remotely likely culprit is 131463. > Which basically means that it "broke" because the default target > features changed.And you are right here. 131463 == 131464 which is buggy. 131462 is OK. Thanks, Karel
On Fri, Jul 8, 2011 at 9:30 AM, Karel Gardas <karel.gardas at centrum.cz> wrote:> On 07/ 8/11 05:26 PM, Eli Friedman wrote: >> >> Given that revision range, the only remotely likely culprit is 131463. >> Which basically means that it "broke" because the default target >> features changed. > > And you are right here. 131463 == 131464 which is buggy. 131462 is OK.Mmm... and I just realized I really can't help track this down because the code paths in question are probably Linux-specific. I spent a little time talking to Jim, and there's probably just a few instructions that need straightforward fixes; someone just needs to put lli under a debugger, see which instructions are unimplemented and/or broken, and implement/fix them. -Eli
Hi, Eli> Mmm... and I just realized I really can't help track this down because > the code paths in question are probably Linux-specific. I spent aI add the following line back to lib/Support/Unix/Host.inc, Arch = "arm"; And examples/HowToUseJIT works fine. Regards, chenwj [1] http://llvm.org/viewvc/llvm-project?view=rev&revision=131463 -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
Hi, Eli
The attach is the result of `make check` of TOT (r135745).
Regards,
chenwj
--
Wei-Ren Chen ()
Computer Systems Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667
-------------- next part --------------
llvm[0]: Running test suite
make[1]: Entering directory `/nfs_home/chenwj/work/svn/xbuild/test'
Making a new site.exp file...
Making LLVM 'lit.site.cfg' file...
Making LLVM unittest 'lit.site.cfg' file...
( ulimit -t 600 ; ulimit -d 512000 ; ulimit -m 512000 ; ulimit -v 1024000 ; \
/nfs_home/chenwj/work/svn/llvm/utils/lit/lit.py -s -v . )
-- Testing: 6053 tests, 4 threads --
Testing: 0 .. 10.
FAIL: LLVM :: CodeGen/Generic/2008-02-04-Ctlz.ll (1031 of 6053)
******************** TEST 'LLVM :: CodeGen/Generic/2008-02-04-Ctlz.ll'
FAILED ********************
Script:
--
/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/llc <
/nfs_home/chenwj/work/svn/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll
--
Exit Code: 139
Command Output (stderr):
--
0 0x01109340 + 552644
Stack dump:
0. Program arguments: /nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/llc
1. Running pass 'Function Pass Manager' on module
'<stdin>'.
2. Running pass 'ARM Instruction Selection' on function '@main'
/nfs_home/chenwj/work/svn/xbuild/test/CodeGen/Generic/Output/2008-02-04-Ctlz.ll.script:
line 2: 9597 Segmentation fault
'/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/llc' <
'/nfs_home/chenwj/work/svn/llvm/test/CodeGen/Generic/2008-02-04-Ctlz.ll'
--
********************
Testing: 0 .. 10..
FAIL: LLVM :: CodeGen/Generic/llvm-ct-intrinsics.ll (1092 of 6053)
******************** TEST 'LLVM ::
CodeGen/Generic/llvm-ct-intrinsics.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/llc <
/nfs_home/chenwj/work/svn/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll
--
Exit Code: 139
Command Output (stderr):
--
0 0x011094a0 + 552996
Stack dump:
0. Program arguments: /nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/llc
1. Running pass 'Function Pass Manager' on module
'<stdin>'.
2. Running pass 'ARM Instruction Selection' on function
'@ctlztest'
/nfs_home/chenwj/work/svn/xbuild/test/CodeGen/Generic/Output/llvm-ct-intrinsics.ll.script:
line 2: 9727 Segmentation fault
'/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/llc' <
'/nfs_home/chenwj/work/svn/llvm/test/CodeGen/Generic/llvm-ct-intrinsics.ll'
--
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: ExecutionEngine/2003-08-15-AllocaAssertion.ll (3191 of 6053)
******************** TEST 'LLVM ::
ExecutionEngine/2003-08-15-AllocaAssertion.ll' FAILED ********************
Script:
--
/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli
/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
> /dev/null
--
Exit Code: 134
Command Output (stderr):
--
Unhandled instruction encoding format!
UNREACHABLE executed at
/nfs_home/chenwj/work/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:532!
0 libc.so.6 0x402e5000
Stack dump:
0. Program arguments: /nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli
/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll
1. Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/work/svn/xbuild/test/ExecutionEngine/Output/2003-08-15-AllocaAssertion.ll.script:
line 2: 10549 Aborted
'/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli'
'/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll'
> '/dev/null'
--
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll (3194 of
6053)
******************** TEST 'LLVM ::
ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll' FAILED
********************
Script:
--
/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli
/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
> /dev/null
--
Exit Code: 134
Command Output (stderr):
--
Unhandled instruction encoding format!
UNREACHABLE executed at
/nfs_home/chenwj/work/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:532!
0 libc.so.6 0x402e5000
Stack dump:
0. Program arguments: /nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli
/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
1. Running pass 'ARM Machine Code Emitter' on function '@main'
/nfs_home/chenwj/work/svn/xbuild/test/ExecutionEngine/Output/2003-08-23-RegisterAllocatePhysReg.ll.script:
line 2: 10556 Aborted
'/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli'
'/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll'
> '/dev/null'
--
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50
FAIL: LLVM :: ExecutionEngine/test-loadstore.ll (3215 of 6053)
******************** TEST 'LLVM :: ExecutionEngine/test-loadstore.ll'
FAILED ********************
Script:
--
/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli
/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/test-loadstore.ll >
/dev/null
--
Exit Code: 134
Command Output (stderr):
--
Unhandled instruction encoding format!
UNREACHABLE executed at
/nfs_home/chenwj/work/svn/llvm/lib/Target/ARM/ARMCodeEmitter.cpp:532!
0 libc.so.6 0x402e5000
Stack dump:
0. Program arguments: /nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli
/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/test-loadstore.ll
1. Running pass 'ARM Machine Code Emitter' on function
'@varalloca'
/nfs_home/chenwj/work/svn/xbuild/test/ExecutionEngine/Output/test-loadstore.ll.script:
line 2: 10591 Aborted
'/nfs_home/chenwj/work/svn/xbuild/Debug+Asserts/bin/lli'
'/nfs_home/chenwj/work/svn/llvm/test/ExecutionEngine/test-loadstore.ll'
> '/dev/null'
--
********************
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
Testing Time: 254.71s
********************
Failing Tests (5):
LLVM :: CodeGen/Generic/2008-02-04-Ctlz.ll
LLVM :: CodeGen/Generic/llvm-ct-intrinsics.ll
LLVM :: ExecutionEngine/2003-08-15-AllocaAssertion.ll
LLVM :: ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll
LLVM :: ExecutionEngine/test-loadstore.ll
Expected Passes : 3192
Expected Failures : 35
Unsupported Tests : 2821
Unexpected Failures: 5
make[1]: Leaving directory `/nfs_home/chenwj/work/svn/xbuild/test'