[LLVMbugs] [Bug 20103] New: r211038 breaks LowerSwitch.cpp, it does not respect possible phi instructions in the leaf nodes.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jun 23 01:54:39 PDT 2014


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

            Bug ID: 20103
           Summary: r211038 breaks LowerSwitch.cpp, it does not respect
                    possible phi instructions in the leaf nodes.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: vslugovsky at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12695
  --> http://llvm.org/bugs/attachment.cgi?id=12695&action=edit
A test case and a suggested fix.

As in r211038, it is now possible to branch directly into a leaf from a
NodeBlock, but phis are not updated. It leads to an inconsistent IR.

See a proposed patch with a test case.

-- 
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/20140623/0957d4c0/attachment.html>


More information about the llvm-bugs mailing list