[llvm-testresults] buildbot failure in smooshlab on llvm-gcc-powerpc-darwin9

Gabor Greif ggreif at gmail.com
Tue Sep 14 10:25:41 PDT 2010


okay, here is a patch, which I tried to commit but svn is down :-(

svn ci -m "an attempt to salvage the darwin9-powerpc buildbot, which
must be miscompiling this line"
/home/ggreif/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp

Index: /home/ggreif/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
===================================================================
--- /home/ggreif/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
(revision 113841)
+++ /home/ggreif/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp       (working copy)
@@ -1373,7 +1373,7 @@
     CmpValue = MI->getOperand(1).getImm();
     return true;
   case ARM::TSTri: {
-      if (MI->getParent()->begin() == MachineBasicBlock::const_iterator(MI))
+      if (&*MI->getParent()->begin() == MI)
         return false;
       const MachineInstr *AND = llvm::prior(MI);
       if (AND->getOpcode() != ARM::ANDri)


It would be interesting to see whether this helps.

Cheers,

   Gabor


On 9/14/10, Gabor Greif <ggreif at gmail.com> wrote:
> Hi Daniel,
>
> this is a strange thing, no other target has a problem.
>
> I can imagine two things:
>
> - endianness (PPC is big-endian)
> - miscompilation by old GCC (which one is the bootstrap compiler on
> that machine?)
>
> Can you send me a backtrace? Thanks!
>
> Cheers,
>
>     Gabor
>
>
> On 9/14/10, daniel_dunbar at apple.com <daniel_dunbar at apple.com> wrote:
>> The Buildbot has detected a new failure of llvm-gcc-powerpc-darwin9 on
>> smooshlab.
>> Full details are available at:
>> http://smooshlab.apple.com:8010/builders/llvm-gcc-powerpc-darwin9/builds/3956
>>
>> Buildbot URL: http://smooshlab.apple.com:8010/
>>
>> Buildslave for this Build: spang.apple.com
>>
>> Build Reason:
>> Build Source Stamp: 113840
>> Blamelist: ggreif
>>
>> BUILD FAILED: failed test.llvm.stage1 test.llvm.stage2
>>
>> sincerely,
>>  -The Buildbot
>>
>>
>> ================================================================================
>>
>> CHANGES:
>> File: test/CodeGen/ARM/arm-and-tst-peephole.ll
>> At: Tue 14 Sep 2010 01:53:33
>> Changed By: ggreif
>> Comments: test for and-tst peephole optimization
>> documents the status-quo with its opportunitiesProperties:
>>
>>
>>
>>
>> File: lib/Target/ARM/ARMBaseInstrInfo.cpp
>> At: Tue 14 Sep 2010 02:28:18
>> Changed By: ggreif
>> Comments: Eliminate a 'tst' that immediately follows an 'and'
>> by morphing the 'and' to its recording form 'andS'.
>>
>> This is basically a test commit into this area, to
>> see whether the bots like me. Several generalizations
>> can be applied and various avenues of code simplification
>> are open. I'll introduce those as I go.
>>
>> I am aware of stylistic input from Bill Wendling, about
>> where put the analysis complexity, but I am positive
>> that we can move things around easily and will find a
>> satisfactory solution.
>> Properties:
>>
>>
>>
>>
>> File: test/CodeGen/ARM/arm-and-tst-peephole.ll
>> At: Tue 14 Sep 2010 02:33:17
>> Changed By: ggreif
>> Comments: forgot the testcase change for r113839Properties:
>>
>>
>>
>>
>> LOGS:
>> Last 10 lines of 'stdio':
>> 	********************
>> 	Failing Tests (1):
>> 	    LLVM :: CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
>> 	
>> 	  Expected Passes    : 4930
>> 	  Expected Failures  : 28
>> 	  Unsupported Tests  : 552
>> 	  Unexpected Failures: 1
>> 	make[1]: *** [check-local-lit] Error 1
>> 	make: *** [check] Error 2
>>
>> Last 10 lines of 'fail':
>> 	LLVM :: CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
>>
>> Last 10 lines of 'xfail':
>> 	LLVM :: MC/AsmParser/X86/x86_32-bit_cat.s
>> 	LLVM :: MC/AsmParser/X86/x86_32-encoding.s
>> 	LLVM :: MC/AsmParser/X86/x86_32-mismatched-add.s
>> 	LLVM :: MC/AsmParser/directive_lsym.s
>> 	LLVM :: MC/AsmParser/exprs-invalid.s
>> 	LLVM :: Transforms/DeadArgElim/deadexternal.ll
>> 	LLVM :: Transforms/GVN/rle-no-phi-translate.ll
>> 	LLVM :: Transforms/IndVarSimplify/loop_evaluate_6.ll
>> 	LLVM :: Transforms/TailCallElim/nocapture.ll
>> 	LLVM :: Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
>>
>> Last 10 lines of 'unsupported':
>> 	LLVM :: LLVMC/C++/hello.cpp
>> 	LLVM :: LLVMC/C++/together.cpp
>> 	LLVM :: LLVMC/C/emit-llvm.c
>> 	LLVM :: LLVMC/C/hello.c
>> 	LLVM :: LLVMC/C/include.c
>> 	LLVM :: LLVMC/C/opt-test.c
>> 	LLVM :: LLVMC/C/sink.c
>> 	LLVM :: LLVMC/C/wall.c
>> 	LLVM :: LLVMC/ObjC++/hello.mm
>> 	LLVM :: LLVMC/ObjC/hello.m
>>
>> Last 10 lines of '2007-03-26-regscavengerassert.ll':
>> 	2  libSystem.B.dylib 0x96fee9fc _sigtramp + 68
>> 	Stack dump:
>> 	0.	Program arguments: llc -march=arm
>> 	1.	Running pass 'Function Pass Manager' on module '<stdin>'.
>> 	2.	Running pass 'Peephole Optimizations' on function '@gimplify_expr'
>> 	/Users/buildslave/zorg/buildbot/smooshlab/slave/build.llvm-gcc-powerpc-darwin9/llvm.obj/test/CodeGen/ARM/Output/2007-03-26-RegScavengerAssert.ll.script:
>> line 2:  9058 Segmentation fault      'llc' '-march=arm' <
>> '/Users/buildslave/zorg/buildbot/smooshlab/slave/build.llvm-gcc-powerpc-darwin9/llvm.src/test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll'
>> 	--
>> 	
>> 	********************
>> 	
>>
>> Last 10 lines of 'stdio':
>> 	********************
>> 	Failing Tests (1):
>> 	    LLVM :: CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
>> 	
>> 	  Expected Passes    : 5392
>> 	  Expected Failures  : 49
>> 	  Unsupported Tests  : 69
>> 	  Unexpected Failures: 1
>> 	make[1]: *** [check-local-lit] Error 1
>> 	make: *** [check] Error 2
>>
>> Last 10 lines of 'fail':
>> 	LLVM :: CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
>>
>> Last 10 lines of 'xfail':
>> 	LLVM :: MC/AsmParser/X86/x86_32-bit_cat.s
>> 	LLVM :: MC/AsmParser/X86/x86_32-encoding.s
>> 	LLVM :: MC/AsmParser/X86/x86_32-mismatched-add.s
>> 	LLVM :: MC/AsmParser/directive_lsym.s
>> 	LLVM :: MC/AsmParser/exprs-invalid.s
>> 	LLVM :: Transforms/DeadArgElim/deadexternal.ll
>> 	LLVM :: Transforms/GVN/rle-no-phi-translate.ll
>> 	LLVM :: Transforms/IndVarSimplify/loop_evaluate_6.ll
>> 	LLVM :: Transforms/TailCallElim/nocapture.ll
>> 	LLVM :: Transforms/TailDup/2008-06-11-AvoidDupLoopHeader.ll
>>
>> Last 10 lines of 'unsupported':
>> 	LLVM :: FrontendObjC/2009-08-05-utf16.m
>> 	LLVM :: FrontendObjC/2009-08-17-DebugInfo.m
>> 	LLVM :: FrontendObjC/2009-11-30-Objc-ID.m
>> 	LLVM :: FrontendObjC/2010-02-01-utf16-with-null.m
>> 	LLVM :: FrontendObjC/2010-02-11-fwritable-stringsBug.m
>> 	LLVM :: FrontendObjC/2010-02-23-DbgInheritance.m
>> 	LLVM :: FrontendObjC/2010-03-17-StructRef.m
>> 	LLVM :: FrontendObjC/2010-06-04-UnnamedCFString-dbg.m
>> 	LLVM :: LLVMC/ObjC++/hello.mm
>> 	LLVM :: LLVMC/ObjC/hello.m
>>
>> Last 10 lines of '2007-03-26-regscavengerassert.ll':
>> 	3  llc               0x00a2ef54
>> llvm::LeakDetector::removeGarbageObjectImpl(void*) + 260
>> 	Stack dump:
>> 	0.	Program arguments: llc -march=arm
>> 	1.	Running pass 'Function Pass Manager' on module '<stdin>'.
>> 	2.	Running pass 'Peephole Optimizations' on function '@gimplify_expr'
>> 	/Users/buildslave/zorg/buildbot/smooshlab/slave/build.llvm-gcc-powerpc-darwin9/llvm.obj.2/test/CodeGen/ARM/Output/2007-03-26-RegScavengerAssert.ll.script:
>> line 2: 57859 Segmentation fault      'llc' '-march=arm' <
>> '/Users/buildslave/zorg/buildbot/smooshlab/slave/build.llvm-gcc-powerpc-darwin9/llvm.src/test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll'
>> 	--
>> 	
>> 	********************
>> 	
>>
>>
>



More information about the llvm-testresults mailing list