Hello Xerxes,> llvm 2.9rc1 test on Dualcore ARM running Ubuntu NattyWhat is the gcc used for the compilation? Can you try to do the -O0 build and see whether this changed the stuff? -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
On 2011-03-14 18:14, Anton Korobeynikov wrote:> Hello Xerxes, > >> llvm 2.9rc1 test on Dualcore ARM running Ubuntu Natty > What is the gcc used for the compilation? Can you try to do the -O0 > build and see whether this changed the stuff? >xranby at panda:/media/dh0/llvm-2.9-build-O0$ gcc --version gcc (Ubuntu/Linaro 4.5.2-5ubuntu1) 4.5.2 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -O0 did change quite a lot see below: xranby at panda:/media/dh0/llvm-2.9-build-O0$ time make check llvm[0]: Running test suite make[1]: Entering directory `/media/dh0/llvm-2.9-build-O0/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 ; \ /media/dh0/llvm-2.9rc1/utils/lit/lit.py -s -v . ) FAIL: LLVM :: CodeGen/Thumb/select.ll (1595 of 5848) ******************** TEST 'LLVM :: CodeGen/Thumb/select.ll' FAILED ******************** Script: -- /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -march=thumb | grep beq | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -march=thumb | grep bgt | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -march=thumb | grep blt | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 3 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -march=thumb | grep ble | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -march=thumb | grep bls | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -march=thumb | grep bhi | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/Thumb/select.ll -mtriple=thumb-apple-darwin | grep __ltdf2 -- Exit Code: 1 Command Output (stderr): -- Expected 3 lines, got 1. -- ******************** FAIL: LLVM :: CodeGen/X86/fold-pcmpeqd-0.ll (2396 of 5848) ******************** TEST 'LLVM :: CodeGen/X86/fold-pcmpeqd-0.ll' FAILED ******************** Script: -- /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/X86/fold-pcmpeqd-0.ll -mtriple=i386-apple-darwin | grep pcmpeqd | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/X86/fold-pcmpeqd-0.ll -mtriple=x86_64-apple-darwin | grep pcmpeqd | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 -- Exit Code: 1 Command Output (stderr): -- llc: /media/dh0/llvm-2.9rc1/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:3149: void llvm::SelectionDAGBuilder::visitTargetIntrinsic(const llvm::CallInst&, unsigned int): Assertion `TLI.isTypeLegal(Op.getValueType()) && "Intrinsic uses a non-legal type?"' failed. Stack dump: 0. Program arguments: /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc -mtriple=i386-apple-darwin 1. Running pass 'Function Pass Manager' on module '<stdin>'. 2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@program_1' Expected 1 lines, got 0. -- ******************** Testing Time: 1090.71s ******************** Failing Tests (2): LLVM :: CodeGen/Thumb/select.ll LLVM :: CodeGen/X86/fold-pcmpeqd-0.ll Expected Passes : 5253 Expected Failures : 50 Unsupported Tests : 543 Unexpected Failures: 2 make[1]: *** [check-local-lit] Error 1 make[1]: Leaving directory `/media/dh0/llvm-2.9-build-O0/test' make: *** [check] Error 2 real 18m18.916s user 21m6.875s sys 7m49.664s
Hello Xerxes,> xranby at panda:/media/dh0/llvm-2.9-build-O0$ gcc --version > gcc (Ubuntu/Linaro 4.5.2-5ubuntu1) 4.5.2Ok. Looks like we'll need to mark this gcc as "known bad" for ARM. -- With best regards, Anton Korobeynikov Faculty of Mathematics and Mechanics, Saint Petersburg State University
On Mar 15, 2011, at 4:45 AM, Xerxes Rånby wrote:> On 2011-03-14 18:14, Anton Korobeynikov wrote: >> Hello Xerxes, >> >>> llvm 2.9rc1 test on Dualcore ARM running Ubuntu Natty >> What is the gcc used for the compilation? Can you try to do the -O0 >> build and see whether this changed the stuff? >> > > xranby at panda:/media/dh0/llvm-2.9-build-O0$ gcc --version > gcc (Ubuntu/Linaro 4.5.2-5ubuntu1) 4.5.2 > Copyright (C) 2010 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > > -O0 did change quite a lot see below: > > xranby at panda:/media/dh0/llvm-2.9-build-O0$ time make check > llvm[0]: Running test suite > make[1]: Entering directory `/media/dh0/llvm-2.9-build-O0/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 ; \ > /media/dh0/llvm-2.9rc1/utils/lit/lit.py -s -v . ) > ******************** > FAIL: LLVM :: CodeGen/X86/fold-pcmpeqd-0.ll (2396 of 5848) > ******************** TEST 'LLVM :: CodeGen/X86/fold-pcmpeqd-0.ll' FAILED ******************** > Script: > -- > /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/X86/fold-pcmpeqd-0.ll -mtriple=i386-apple-darwin | grep pcmpeqd | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 > /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc < /media/dh0/llvm-2.9rc1/test/CodeGen/X86/fold-pcmpeqd-0.ll -mtriple=x86_64-apple-darwin | grep pcmpeqd | /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/count 1 > -- > Exit Code: 1 > Command Output (stderr): > -- > llc: /media/dh0/llvm-2.9rc1/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:3149: void llvm::SelectionDAGBuilder::visitTargetIntrinsic(const llvm::CallInst&, unsigned int): Assertion `TLI.isTypeLegal(Op.getValueType()) && "Intrinsic uses a non-legal type?"' failed. > Stack dump: > 0. Program arguments: /media/dh0/llvm-2.9-build-O0/Release+Asserts/bin/llc -mtriple=i386-apple-darwin > 1. Running pass 'Function Pass Manager' on module '<stdin>'. > 2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@program_1' > Expected 1 lines, got 0. > -- >Hmm...This might be missing a flag? But Eric was the last to touch it (because of his ILP stuff). Eric, do you have any comments? -bw