[llvm-bugs] [Bug 39335] New: blockaddress forward references resolved incorrectly

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 17 11:56:00 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=39335

            Bug ID: 39335
           Summary: blockaddress forward references resolved incorrectly
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM assembly language parser
          Assignee: unassignedbugs at nondot.org
          Reporter: sean.m.bartell at gmail.com
                CC: llvm-bugs at lists.llvm.org

In cases where blockaddress forward references use a mixture of value numbers
and value names, they may be resolved incorrectly. For example, if the
following code is piped through llvm-as|llvm-dis, both blockaddresses become
blockaddress(@f,%1).

@g = constant [2 x i8*] [i8* blockaddress(@f, %1),
                         i8* blockaddress(@f, %bb.named)]
define void @f() {
  ret void
; 1:
  ret void
bb.named:
  ret void
}

-- 
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/20181017/791d9ff9/attachment.html>


More information about the llvm-bugs mailing list