<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Hey i am cloning the basic block in which i am getting error can you tell me how to set the function return type"
   href="https://llvm.org/bugs/show_bug.cgi?id=25190">25190</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Hey i am cloning the basic block in which i am getting error can you tell me how to set the function return type
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bamnepriyanka574@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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)</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>