http://llvm.org/bugs/show_bug.cgi?id=7295
Summary: --extract-blocks doesn't handle blockaddress
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Transformation Utilities
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Testcase:
define void @foo(i8** %p) {
entry:
store i8* blockaddress(@foo, %label), i8** %p
br label %label
label:
ret void
}
With opt --extract-blocks, %label is moved to function @foo_label(), but the
blockaddress expression remains blockaddress(@foo, %label), referencing the
original function.
--
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