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

            Bug ID: 18516
           Summary: insertvalue T1 T2 crashes when T1 is zero sized type
           Product: libraries
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

%T1 = type { %T2 }
%T2 = type {}
define void @f() {
  %a = insertvalue %T1 undef, %T2 undef, 0
  ret void
}

The case when T2 is zero sized type is handled. You can check by adding
elements to T1.

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