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