1; This one fails because the LLVM runtime is allowing two null pointers of 2; the same type to be created! 3 4; RUN: echo {%%T = type i32} | llvm-as > %t.2.bc 5; RUN: llvm-as %s -o %t.1.bc 6; RUN: llvm-link %t.1.bc %t.2.bc 7 8%T = type opaque 9 10declare %T* @create() 11 12define void @test() { 13 %X = call %T* @create( ) ; <%T*> [#uses=1] 14 %v = icmp eq %T* %X, null ; <i1> [#uses=0] 15 ret void 16} 17 18