https://llvm.org/bugs/show_bug.cgi?id=25190
Bug ID: 25190 Summary: Hey i am cloning the basic block in which i am getting error can you tell me how to set the function return type Product: new-bugs Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: bamnepriyanka...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified clone done got terminator new terminator instuction in perf: ret i32 %5 set terminator Function return type does not match operand type of return inst! ret label %6 i32Broken module found, compilation aborted! 0 libLLVM-3.4.so.1 0xb6cb150f llvm::sys::PrintStackTrace(_IO_FILE*) + 47 1 libLLVM-3.4.so.1 0xb6cb177f 2 libLLVM-3.4.so.1 0xb6cb12ec 3 0xb7746400 __kernel_sigreturn + 0 4 0xb7746424 __kernel_vsyscall + 16 5 libc.so.6 0xb5a7b607 gsignal + 71 6 libc.so.6 0xb5a7ea33 abort + 323 7 libLLVM-3.4.so.1 0xb65d1702 8 libLLVM-3.4.so.1 0xb65db66b 9 libLLVM-3.4.so.1 0xb65accfc llvm::FPPassManager::runOnFunction(llvm::Function&) + 524 10 libLLVM-3.4.so.1 0xb65acd98 llvm::FPPassManager::runOnModule(llvm::Module&) + 56 11 libLLVM-3.4.so.1 0xb65af475 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 773 12 libLLVM-3.4.so.1 0xb65af616 llvm::legacy::PassManager::run(llvm::Module&) + 38 13 opt 0x08057e8f main + 2751 14 libc.so.6 0xb5a66a83 __libc_start_main + 243 15 opt 0x08059039 Stack dump: 0. Program arguments: opt -load /home/priya/mtp/llvm-3.4/build/Release+Asserts/lib/new_red.so -red sample.bc 1. Running pass 'Function Pass Manager' on module 'sample.bc'. 2. Running pass 'Module Verifier' on function '@main' Aborted (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs