[LLVMbugs] [Bug 7295] New: --extract-blocks doesn't handle blockaddress

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 3 12:13:16 PDT 2010


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: unassignedbugs at nondot.org
        ReportedBy: gohman at apple.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list