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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to