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

           Summary: Necessary 'indirectbr' instruction is optimized away
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Loop Optimizer
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6686)
 --> (http://llvm.org/bugs/attachment.cgi?id=6686)
testcase

Please run the attached testcase (shar shell archive) with the current trunk
version of llvm.

It will create the original module mod.ll. It will also optimize it into
mod-o.ll.
indirectbr instruction in question is missing from mod-o.ll.
This instruction is necessary because it depends on the return value of
undefined function xselectorx().

As a result mod-o.ll is wrong (not equivalent to mod.ll).

I observe the problem with the today's revision 132525 and with the older
revision 128446. I know this didn't happen with the code from few months ago.

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

Reply via email to