[LLVMbugs] [Bug 22034] New: "Invalid PPC CTR loop" when building FreeBSD libc for PowerPC

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 26 22:31:26 PST 2014


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

            Bug ID: 22034
           Summary: "Invalid PPC CTR loop" when building FreeBSD libc for
                    PowerPC
           Product: libraries
           Version: trunk
          Hardware: Macintosh
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: chmeeedalf at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13594
  --> http://llvm.org/bugs/attachment.cgi?id=13594&action=edit
Source file to compile

The attached test case, reduced from the FreeBSD ns_name.c source file, throws
an assertion:

Invalid PPC CTR loop!
UNREACHABLE executed at
/home/chmeee/llvm_git/llvm/lib/Target/PowerPC/PPCCTRLoops.cpp:655!
Stack dump:
0.      Program arguments: ./llvm_git/llvm_build/bin/llc -filetype=obj
-relocation-model=pic /tmp/ns_name-223efd.ll 
1.      Running pass 'Function Pass Manager' on module
'/tmp/ns_name-223efd.ll'.
2.      Running pass 'PowerPC CTR Loops Verify' on function '@__ns_name_ntol'

I haven't reduced it any further than down to this function.

-- 
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/20141227/4944d8af/attachment.html>


More information about the llvm-bugs mailing list