http://llvm.org/bugs/show_bug.cgi?id=15577

            Bug ID: 15577
           Summary: Verifier accepts infinite-length types
           Product: new-bugs
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 10231
  --> http://llvm.org/bugs/attachment.cgi?id=10231&action=edit
llvm assembly with infinite type

LLVM parses, verifies and prints (opt-3.3 foo.ll -verify -S) the attached file,
which contains a type of infinite length.

However, if I attempt to emit bitcode and then disassemble it, the result is as
follows:

%0 = type opaque
%f = type { i32, %0 }

define %f @foo() {
  ret %f zeroinitializer
}

-- 
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

Reply via email to