[LLVMbugs] [Bug 10072] New: Necessary 'indirectbr' instruction is optimized away

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 2 22:41:18 PDT 2011


           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: unassignedbugs at nondot.org
        ReportedBy: yuri at tsoft.com
                CC: llvmbugs at cs.uiuc.edu

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

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

More information about the llvm-bugs mailing list