[LLVMbugs] [Bug 18003] New: [release_34] Multiple tests fail on PowerPC64 Linux

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Nov 20 01:25:12 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=18003

            Bug ID: 18003
           Summary: [release_34] Multiple tests fail on PowerPC64 Linux
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: ismail at donmez.ws
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Following tests fail on openSUSE 13.1 PPC64 with llvm 3.4rc1:

test/CodeGen/PowerPC/ppc32-vacopy.ll
test/CodeGen/PowerPC/anon_aggr.ll
test/CodeGen/PowerPC/2010-05-03-retaddr1.ll

Here is the output for each test:

###############################################################################

abuild at aqua:/home/abuild/rpmbuild/BUILD/llvm/stage2>
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./llc <
/home/abuild/rpmbuild/BUILD/llvm/test/CodeGen/PowerPC/2010-05-03-retaddr1.ll
-march=ppc32 -mtriple=powerpc-apple-darwin -mcpu=g5           
        .machine ppc970
        .section        __TEXT,__textcoal_nt,coalesced,pure_instructions
        .section        __TEXT,__symbol_stub1,symbol_stubs,pure_instructions,16
        .section        __TEXT,__text,regular,pure_instructions
        .globl  _g2
        .align  4
_g2:                                    ; @g2
; BB#0:                                 ; %entry
        lwz r3, 0(r1)
        blr

        .globl  _g
        .align  4
_g:                                     ; @g
; BB#0:                                 ; %entry
        mflr r0
        li r3, 8
        stw r0, 8(r1)
        lwz r2, 0(r1)
        lwzx r3, r2, r3
        lwz r0, 8(r1)
        mtlr r0
        blr

.subsections_via_symbols

###############################################################################

abuild at aqua:/home/abuild/rpmbuild/BUILD/llvm/stage2>
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./llc -O0 -mcpu=pwr7
-mtriple=powerpc64-unknown-linux-gnu -fast-isel=false <
/home/abuild/rpmbuild/BUILD/llvm/test/CodeGen/PowerPC/anon_aggr.ll
        .file   "<stdin>"
        .text
        .globl  func1
        .align  2
        .type   func1, at function
        .section        .opd,"aw", at progbits
func1:                                  # @func1
        .align  3
        .quad   .L.func1
        .quad   .TOC. at tocbase
        .quad   0
        .text
.L.func1:
        .cfi_startproc
# BB#0:                                 # %entry
        cmpld 0, 4, 5
        std 5, -8(1)                    # 8-byte Folded Spill
        std 4, -16(1)                   # 8-byte Folded Spill
        bne 0, .LBB0_2
        b .LBB0_1
.LBB0_1:                                # %equal
        ld 3, -16(1)                    # 8-byte Folded Reload
        blr
.LBB0_2:                                # %unequal
        ld 3, -8(1)                     # 8-byte Folded Reload
        blr
        .long   0
        .quad   0
.Ltmp0:
        .size   func1, .Ltmp0-.L.func1
        .cfi_endproc

        .globl  func2
        .align  2
        .type   func2, at function
        .section        .opd,"aw", at progbits
func2:                                  # @func2
        .align  3
        .quad   .L.func2
        .quad   .TOC. at tocbase
        .quad   0
        .text
.L.func2:
        .cfi_startproc
# BB#0:                                 # %entry
        addi 3, 1, 64
        std 6, 72(1)
        std 5, 64(1)
        ld 3, 8(3)
        cmpld 0, 4, 3
        std 4, -8(1)                    # 8-byte Folded Spill
        std 3, -16(1)                   # 8-byte Folded Spill
        bne 0, .LBB1_2
        b .LBB1_1
.LBB1_1:                                # %equal
        ld 3, -8(1)                     # 8-byte Folded Reload
        blr
.LBB1_2:                                # %unequal
        ld 3, -16(1)                    # 8-byte Folded Reload
        blr
        .long   0
        .quad   0
.Ltmp1:
        .size   func2, .Ltmp1-.L.func2
        .cfi_endproc

        .globl  func3
        .align  2
        .type   func3, at function
        .section        .opd,"aw", at progbits
func3:                                  # @func3
        .align  3
        .quad   .L.func3
        .quad   .TOC. at tocbase
        .quad   0
        .text
.L.func3:
        .cfi_startproc
# BB#0:                                 # %entry
        addi 7, 1, 64
        std 6, 72(1)
        std 5, 64(1)
        std 4, 56(1)
        std 3, 48(1)
        addi 3, 1, 48
        ld 4, 8(7)
        ld 3, 8(3)
        cmpld 0, 3, 4
        std 4, -8(1)                    # 8-byte Folded Spill
        std 3, -16(1)                   # 8-byte Folded Spill
        bne 0, .LBB2_2
        b .LBB2_1
.LBB2_1:                                # %equal
        ld 3, -16(1)                    # 8-byte Folded Reload
        blr
.LBB2_2:                                # %unequal
        ld 3, -8(1)                     # 8-byte Folded Reload
        blr
        .long   0
        .quad   0
.Ltmp2:
        .size   func3, .Ltmp2-.L.func3
        .cfi_endproc

        .globl  func4
        .align  2
        .type   func4, at function
        .section        .opd,"aw", at progbits
func4:                                  # @func4
        .align  3
        .quad   .L.func4
        .quad   .TOC. at tocbase
        .quad   0
        .text
.L.func4:
        .cfi_startproc
# BB#0:                                 # %entry
        addi 3, 1, 128
        ld 4, 120(1)
        ld 3, 8(3)
        cmpld 0, 4, 3
        std 4, -8(1)                    # 8-byte Folded Spill
        std 3, -16(1)                   # 8-byte Folded Spill
        bne 0, .LBB3_2
        b .LBB3_1
.LBB3_1:                                # %equal
        ld 3, -8(1)                     # 8-byte Folded Reload
        blr
.LBB3_2:                                # %unequal
        ld 3, -16(1)                    # 8-byte Folded Reload
        blr
        .long   0
        .quad   0
.Ltmp3:
        .size   func4, .Ltmp3-.L.func4
        .cfi_endproc

###############################################################################

abuild at aqua:/home/abuild/rpmbuild/BUILD/llvm/stage2>
/home/abuild/rpmbuild/BUILD/llvm/stage2/bin/./llc
-mtriple="powerpc-unknown-linux-gnu" <
/home/abuild/rpmbuild/BUILD/llvm/test/CodeGen/PowerPC/ppc32-vacopy.ll
        .file   "<stdin>"
        .text
        .globl  test_vacopy
        .align  2
        .type   test_vacopy, at function
test_vacopy:                            # @test_vacopy
# BB#0:                                 # %entry
        stwu 1, -48(1)
        li 3, 8
        addi 4, 1, 32
        lwz 5, 32(1)
        addi 7, 1, 16
        lwzx 6, 4, 3
        lwz 4, 4(4)
        stw 5, 16(1)
        stwx 6, 7, 3
        stw 4, 4(7)
        addi 1, 1, 48
        blr
.Ltmp0:
        .size   test_vacopy, .Ltmp0-test_vacopy

###############################################################################

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131120/87ff87f1/attachment.html>


More information about the llvm-bugs mailing list