[LLVMbugs] [Bug 18520] New: ReplaceInstWithInst should update phi nodes when the instruction being replaced is a BranchInst

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jan 17 09:59:24 PST 2014


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

            Bug ID: 18520
           Summary: ReplaceInstWithInst should update phi nodes when the
                    instruction being replaced is a BranchInst
           Product: libraries
           Version: 3.3
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Transformation Utilities
          Assignee: unassignedbugs at nondot.org
          Reporter: mm.bivol at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When calling ReplaceInstWithInst on a br instruction the phi nodes in old
successor blocks still reference the current block, even if they aren't
successors anymore.

-- 
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/20140117/c4f7b920/attachment.html>


More information about the llvm-bugs mailing list