[LLVMbugs] [Bug 10135] New: recent trunk build fails LLVM :: CodeGen/X86/mem-promote-integers.ll
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jun 14 05:49:47 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10135
Summary: recent trunk build fails LLVM ::
CodeGen/X86/mem-promote-integers.ll
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: apacherulzz at yahoo.com
CC: llvmbugs at cs.uiuc.edu
FAIL: Clang :: Driver/hello.c (1399 of 9276)
******************** TEST 'Clang :: Driver/hello.c' FAILED ********************
Script:
--
/opt/llvm/build/Release+Asserts/bin/clang -ccc-echo -o
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.exe
/opt/llvm/llvm/tools/clang/test/Driver/hello.c 2>
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.log
grep 'clang\(-[0-9.]\+\)\?\(\.[Ee][Xx][Ee]\)\?" -cc1 .*hello.c'
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.log
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.exe >
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.out
grep "I'm a little driver, short and stout."
/opt/llvm/build/tools/clang/test/Driver/Output/hello.c.tmp.out
--
Exit Code: 1
********************
FAIL: LLVM :: CodeGen/X86/mem-promote-integers.ll (5814 of 9276)
******************** TEST 'LLVM :: CodeGen/X86/mem-promote-integers.ll' FAILED
********************
Script:
--
/opt/llvm/build/Release+Asserts/bin/llc -march=x86 -promote-elements <
/opt/llvm/llvm/test/CodeGen/X86/mem-promote-integers.ll
/opt/llvm/build/Release+Asserts/bin/llc -march=x86 <
/opt/llvm/llvm/test/CodeGen/X86/mem-promote-integers.ll
/opt/llvm/build/Release+Asserts/bin/llc -march=x86-64 -promote-elements <
/opt/llvm/llvm/test/CodeGen/X86/mem-promote-integers.ll
/opt/llvm/build/Release+Asserts/bin/llc -march=x86-64 <
/opt/llvm/llvm/test/CodeGen/X86/mem-promote-integers.ll
--
Exit Code: 134
Command Output (stdout):
--
.file "<stdin>"
.text
.globl test_1xi8
.align 16, 0x90
.type test_1xi8, at function
test_1xi8: # @test_1xi8
.Ltmp0:
.cfi_startproc
# BB#0:
movl 8(%esp), %ecx
movb 4(%esp), %al
xorb (%ecx), %al
movb %al, (%ecx)
ret
.Ltmp1:
.size test_1xi8, .Ltmp1-test_1xi8
.Ltmp2:
.cfi_endproc
.Leh_func_end0:
.globl test_1xi16
.align 16, 0x90
.type test_1xi16, at function
test_1xi16: # @test_1xi16
.Ltmp3:
.cfi_startproc
# BB#0:
movl 8(%esp), %ecx
movw 4(%esp), %ax
xorw (%ecx), %ax
movw %ax, (%ecx)
ret
.Ltmp4:
.size test_1xi16, .Ltmp4-test_1xi16
.Ltmp5:
.cfi_endproc
.Leh_func_end1:
.globl test_1xi32
.align 16, 0x90
.type test_1xi32, at function
test_1xi32: # @test_1xi32
.Ltmp6:
.cfi_startproc
# BB#0:
movl 8(%esp), %ecx
movl 4(%esp), %eax
xorl (%ecx), %eax
movl %eax, (%ecx)
ret
.Ltmp7:
.size test_1xi32, .Ltmp7-test_1xi32
.Ltmp8:
.cfi_endproc
.Leh_func_end2:
.globl test_1xi64
.align 16, 0x90
.type test_1xi64, at function
test_1xi64: # @test_1xi64
.Ltmp10:
.cfi_startproc
# BB#0:
subl $12, %esp
.Ltmp11:
.cfi_def_cfa_offset 16
movl 24(%esp), %ecx
movl 16(%esp), %eax
movl 20(%esp), %edx
xorl (%ecx), %eax
xorl 4(%ecx), %edx
movl %edx, 4(%ecx)
movl %eax, (%ecx)
movl %edx, 4(%esp)
movl %eax, (%esp)
pinsrd $1, 4(%esp), %xmm0
pinsrd $3, 8(%esp), %xmm0
pextrd $2, %xmm0, %edx
movd %xmm0, %eax
addl $12, %esp
ret
.Ltmp12:
.size test_1xi64, .Ltmp12-test_1xi64
.Ltmp13:
.cfi_endproc
.Leh_func_end3:
.globl test_1xi128
.align 16, 0x90
.type test_1xi128, at function
test_1xi128: # @test_1xi128
.Ltmp18:
.cfi_startproc
# BB#0:
pushl %ebx
.Ltmp19:
.cfi_def_cfa_offset 8
pushl %edi
.Ltmp20:
.cfi_def_cfa_offset 12
pushl %esi
.Ltmp21:
.cfi_def_cfa_offset 16
.Ltmp22:
.cfi_offset %esi, -16
.Ltmp23:
.cfi_offset %edi, -12
.Ltmp24:
.cfi_offset %ebx, -8
movl 16(%esp), %eax
movl 36(%esp), %esi
movl 20(%esp), %edx
movl 24(%esp), %ecx
xorl (%esi), %edx
xorl 4(%esi), %ecx
movl 28(%esp), %ebx
movl 32(%esp), %edi
xorl 8(%esi), %ebx
xorl 12(%esi), %edi
movl %edi, 12(%esi)
movl %ebx, 8(%esi)
movl %ecx, 4(%esi)
movl %edx, (%esi)
movl %edx, (%eax)
movl %ecx, 4(%eax)
movl %ebx, 8(%eax)
movl %edi, 12(%eax)
popl %esi
popl %edi
popl %ebx
ret $4
.Ltmp25:
.size test_1xi128, .Ltmp25-test_1xi128
.Ltmp26:
.cfi_endproc
.Leh_func_end4:
.globl test_1xi256
.align 16, 0x90
.type test_1xi256, at function
test_1xi256: # @test_1xi256
.Ltmp32:
.cfi_startproc
# BB#0:
pushl %ebp
.Ltmp33:
.cfi_def_cfa_offset 8
pushl %ebx
.Ltmp34:
.cfi_def_cfa_offset 12
pushl %edi
.Ltmp35:
.cfi_def_cfa_offset 16
pushl %esi
.Ltmp36:
.cfi_def_cfa_offset 20
subl $20, %esp
.Ltmp37:
.cfi_def_cfa_offset 40
.Ltmp38:
.cfi_offset %esi, -20
.Ltmp39:
.cfi_offset %edi, -16
.Ltmp40:
.cfi_offset %ebx, -12
.Ltmp41:
.cfi_offset %ebp, -8
movl 76(%esp), %ebx
movl 44(%esp), %eax
movl 48(%esp), %ecx
xorl (%ebx), %eax
movl %eax, 4(%esp) # 4-byte Spill
xorl 4(%ebx), %ecx
movl %ecx, 16(%esp) # 4-byte Spill
movl 52(%esp), %edi
movl 56(%esp), %eax
xorl 8(%ebx), %edi
xorl 12(%ebx), %eax
movl %eax, %esi
movl 60(%esp), %eax
movl 64(%esp), %ebp
xorl 16(%ebx), %eax
xorl 20(%ebx), %ebp
movl 68(%esp), %edx
movl 72(%esp), %ecx
xorl 24(%ebx), %edx
xorl 28(%ebx), %ecx
movl %ecx, 28(%ebx)
movl %edx, 24(%ebx)
movl %ebp, 20(%ebx)
movl %eax, 16(%ebx)
movl %esi, 12(%ebx)
movl %esi, 8(%esp) # 4-byte Spill
movl %edi, 8(%ebx)
movl 16(%esp), %esi # 4-byte Reload
movl %esi, 4(%ebx)
movl 4(%esp), %esi # 4-byte Reload
movl %esi, (%ebx)
movd %eax, %xmm0
pinsrd $1, %ebp, %xmm0
pinsrd $2, %edx, %xmm0
pinsrd $3, %ecx, %xmm0
pextrd $3, %xmm0, %eax
movl %eax, 12(%esp) # 4-byte Spill
pextrd $2, %xmm0, %eax
movl %eax, (%esp) # 4-byte Spill
pextrd $1, %xmm0, %eax
movd %xmm0, %ecx
movd %esi, %xmm0
movl 16(%esp), %edx # 4-byte Reload
pinsrd $1, %edx, %xmm0
pinsrd $2, %edi, %xmm0
movl 8(%esp), %edx # 4-byte Reload
pinsrd $3, %edx, %xmm0
pextrd $3, %xmm0, %edx
pextrd $2, %xmm0, %esi
pextrd $1, %xmm0, %edi
movd %xmm0, %ebx
movl 40(%esp), %ebp
movl %ebx, (%ebp)
movl %edi, 4(%ebp)
movl %esi, 8(%ebp)
movl %edx, 12(%ebp)
movl %ecx, 16(%ebp)
movl %eax, 20(%ebp)
movl (%esp), %eax # 4-byte Reload
movl %eax, 24(%ebp)
movl 12(%esp), %eax # 4-byte Reload
movl %eax, 28(%ebp)
addl $20, %esp
popl %esi
popl %edi
popl %ebx
popl %ebp
ret $4
.Ltmp42:
.size test_1xi256, .Ltmp42-test_1xi256
.Ltmp43:
.cfi_endproc
.Leh_func_end5:
.globl test_2xi8
.align 16, 0x90
.type test_2xi8, at function
test_2xi8: # @test_2xi8
.Ltmp44:
.cfi_startproc
# BB#0:
movdqa %xmm0, %xmm1
movl 4(%esp), %eax
movzbl 1(%eax), %ecx
shll $8, %ecx
pinsrw $3, %ecx, %xmm0
movzbl 2(%eax), %ecx
shll $8, %ecx
pinsrw $7, %ecx, %xmm0
pxor %xmm1, %xmm0
pextrb $15, %xmm0, %ecx
movb %cl, 16(%eax)
pextrb $7, %xmm0, %ecx
movb %cl, 8(%eax)
ret
.Ltmp45:
.size test_2xi8, .Ltmp45-test_2xi8
.Ltmp46:
.cfi_endproc
.Leh_func_end6:
.globl test_2xi16
.align 16, 0x90
.type test_2xi16, at function
test_2xi16: # @test_2xi16
.Ltmp47:
.cfi_startproc
# BB#0:
movdqa %xmm0, %xmm1
movl 4(%esp), %eax
pinsrw $3, 2(%eax), %xmm0
pinsrw $7, 4(%eax), %xmm0
pxor %xmm1, %xmm0
pextrw $7, %xmm0, %ecx
movw %cx, 16(%eax)
pextrw $3, %xmm0, %ecx
movw %cx, 8(%eax)
ret
.Ltmp48:
.size test_2xi16, .Ltmp48-test_2xi16
.Ltmp49:
.cfi_endproc
.Leh_func_end7:
.globl test_2xi32
.align 16, 0x90
.type test_2xi32, at function
test_2xi32: # @test_2xi32
.Ltmp50:
.cfi_startproc
# BB#0:
movdqa %xmm0, %xmm1
movl 4(%esp), %eax
pinsrd $1, 4(%eax), %xmm0
pinsrd $3, 8(%eax), %xmm0
pxor %xmm1, %xmm0
pextrd $3, %xmm0, 16(%eax)
pextrd $1, %xmm0, 8(%eax)
ret
.Ltmp51:
.size test_2xi32, .Ltmp51-test_2xi32
.Ltmp52:
.cfi_endproc
.Leh_func_end8:
.globl test_2xi64
.align 16, 0x90
.type test_2xi64, at function
test_2xi64: # @test_2xi64
.Ltmp53:
.cfi_startproc
# BB#0:
movl 4(%esp), %eax
pxor (%eax), %xmm0
movaps %xmm0, (%eax)
ret
.Ltmp54:
.size test_2xi64, .Ltmp54-test_2xi64
.Ltmp55:
.cfi_endproc
.Leh_func_end9:
.globl test_2xi128
.align 16, 0x90
.type test_2xi128, at function
test_2xi128: # @test_2xi128
.Ltmp61:
.cfi_startproc
# BB#0:
pushl %ebp
.Ltmp62:
.cfi_def_cfa_offset 8
pushl %ebx
.Ltmp63:
.cfi_def_cfa_offset 12
pushl %edi
.Ltmp64:
.cfi_def_cfa_offset 16
pushl %esi
.Ltmp65:
.cfi_def_cfa_offset 20
subl $20, %esp
.Ltmp66:
.cfi_def_cfa_offset 40
.Ltmp67:
.cfi_offset %esi, -20
.Ltmp68:
.cfi_offset %edi, -16
.Ltmp69:
.cfi_offset %ebx, -12
.Ltmp70:
.cfi_offset %ebp, -8
movl 76(%esp), %ebx
movl 44(%esp), %eax
movl 48(%esp), %ecx
xorl (%ebx), %eax
movl %eax, 4(%esp) # 4-byte Spill
xorl 4(%ebx), %ecx
movl %ecx, 16(%esp) # 4-byte Spill
movl 52(%esp), %edi
movl 56(%esp), %eax
xorl 8(%ebx), %edi
xorl 12(%ebx), %eax
movl %eax, %esi
movl 60(%esp), %eax
movl 64(%esp), %ebp
xorl 16(%ebx), %eax
xorl 20(%ebx), %ebp
movl 68(%esp), %edx
movl 72(%esp), %ecx
xorl 24(%ebx), %edx
xorl 28(%ebx), %ecx
movl %ecx, 28(%ebx)
movl %edx, 24(%ebx)
movl %ebp, 20(%ebx)
movl %eax, 16(%ebx)
movl %esi, 12(%ebx)
movl %esi, 8(%esp) # 4-byte Spill
movl %edi, 8(%ebx)
movl 16(%esp), %esi # 4-byte Reload
movl %esi, 4(%ebx)
movl 4(%esp), %esi # 4-byte Reload
movl %esi, (%ebx)
movd %eax, %xmm0
pinsrd $1, %ebp, %xmm0
pinsrd $2, %edx, %xmm0
pinsrd $3, %ecx, %xmm0
pextrd $3, %xmm0, %eax
movl %eax, 12(%esp) # 4-byte Spill
pextrd $2, %xmm0, %eax
movl %eax, (%esp) # 4-byte Spill
pextrd $1, %xmm0, %eax
movd %xmm0, %ecx
movd %esi, %xmm0
movl 16(%esp), %edx # 4-byte Reload
pinsrd $1, %edx, %xmm0
pinsrd $2, %edi, %xmm0
movl 8(%esp), %edx # 4-byte Reload
pinsrd $3, %edx, %xmm0
pextrd $3, %xmm0, %edx
pextrd $2, %xmm0, %esi
pextrd $1, %xmm0, %edi
movd %xmm0, %ebx
movl 40(%esp), %ebp
movl %ebx, (%ebp--
Command Output (stderr):
--
llc: /opt/llvm/llvm/lib/VMCore/Type.cpp:807: static const llvm::IntegerType*
llvm::IntegerType::get(llvm::LLVMContext&, unsigned int): Assertion `NumBits <=
MAX_INT_BITS && "bitwidth too large"' failed.
0 llc 0x08b54388
Stack dump:
0. Program arguments: /opt/llvm/build/Release+Asserts/bin/llc -march=x86
-promote-elements
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@test_2xi256'
/opt/llvm/build/test/CodeGen/X86/Output/mem-promote-integers.ll.script: line 8:
21123 Aborted '/opt/llvm/build/Release+Asserts/bin/llc'
'-march=x86' '-promote-elements' <
'/opt/llvm/llvm/test/CodeGen/X86/mem-promote-integers.ll'
--
********************
Testing Time: 156.79s
********************
Failing Tests (2):
Clang :: Driver/hello.c
LLVM :: CodeGen/X86/mem-promote-integers.ll
Expected Passes : 8654
Expected Failures : 69
Unsupported Tests : 551
Unexpected Failures: 2
make[1]: *** [check-local-all] Error 1
make[1]: Leaving directory `/opt/llvm/build/test'
make: *** [check-all] Error 2
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list