[llvm-testresults] buildbot failure in llvm on llvm-gcc-x86_64-linux-selfhost

Jakob Stoklund Olesen stoklund at 2pi.dk
Mon Jan 10 13:11:37 PST 2011


On Jan 9, 2011, at 11:37 PM, Chris Lattner wrote:

> 
> On Jan 9, 2011, at 9:43 PM, Evan Cheng wrote:
> 
>> That didn't seem to help. :(
> 
> I've disabled all of the commits that were included in this build:
> http://google1.osuosl.org:8011/builders/llvm-gcc-i386-linux-selfhost/builds/554
> 
> Still no go.  I'm pretty sure that the current part is a Jakob issue.  The llvm-gcc-i386-linux-selfhost has been consistently failing.  Here's the series of events as I see it:

I've looked at the miscomparing .o files from the llvm-gcc-i386-darwin9 builder. There is a number of register allocation differences, and then this one:

 	cmpw	$0x1c,(%eax)
-	jne	0x00000c99
-	cmpl	$0x00,0x08(%eax)
-	jns	0x00000c99
-	movl	$0x0000db60,0xfffff7e8(%ebp)
+	jne	0x00000c9b
+	movl	0x08(%eax),%ecx
+	testl	%ecx,%ecx
+	jns	0x00000c9b
+	movl	0x04(%eax),%eax
 	movl	$0x00000000,0xfffff7cc(%ebp)

Note that X86InstrInfo::foldMemoryOperandImpl can convert load+testl to a cmpl, but I think we only do that for constant pool loads and when spilling. This is neither, so isel should have folded the load, right?








More information about the llvm-testresults mailing list