[LLVMbugs] [Bug 10643] New: SplitBlock crash with incomplete dominator info
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Aug 11 12:12:18 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10643
Summary: SplitBlock crash with incomplete dominator info
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nick.sumner at gmail.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=7059)
--> (http://llvm.org/bugs/attachment.cgi?id=7059)
Patch against svn trunk
SplitBlock can cause an assertion failure when the current pass has stale or
incomplete dominator information. This is because it assumes that dominator
information is always present. I encountered this when using SplitBlock after
UnifyFunctionExitNodes.
The attached patch against the trunk fixes the problem for me and incidentally
fixes a whitespace bug in SplitBlock at the same time.
--
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