[LLVMbugs] [Bug 5802] New: llc infloops on sha256.c at -O1

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Dec 16 02:35:03 PST 2009


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

           Summary: llc infloops on sha256.c at -O1
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


With r91521 clang -O2 doesn't finish generating code for sha256.c from ClamAV.
clang, and opt -O2 work, however llc hangs.

llc -O0 works, but llc -O1 or llc -O2 doesn't finish (waited 3 minutes).

Bytecode attached.

llc -O1 --debug outputs lots of these messages (which seem to replace and ->
zero_extend -> and in an endless cycle):
Replacing.2 0x16695e0: i64 = and 0x1683cb0, 0x16869f0
With: 0x167f210: i64 = zero_extend 0x1669200

Replacing.3 0x167f210: i64 = zero_extend 0x1669200
With: 0x16695e0: i64 = and 0x16869f0, 0x1683cb0

Replacing.2 0x16869f0: i64 = zero_extend 0x166bfd8
With: 0x163a220: i64 = any_extend 0x166bfd8

Replacing.2 0x16695e0: i64 = and 0x163a220, 0x1683cb0
With: 0x167f210: i64 = zero_extend 0x1669200

Replacing.3 0x167f210: i64 = zero_extend 0x1669200
With: 0x16695e0: i64 = and 0x1683cb0, 0x163a220

Replacing.2 0x1683cb0: i64 = zero_extend 0x166bfd8
With: 0x16869f0: i64 = any_extend 0x166bfd8


-- 
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