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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to