<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/57496>57496</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [MLIR,LLVM] Failed to materialize symbols: { (main, {main}) }
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          rajashekarkasturi
      </td>
    </tr>
</table>

<pre>
    We are trying to lower mlir code using tosa dialect to llvm, but while running the LLVM code we are facing error.
```
JIT session error: Symbols not found: [ memrefCopy ] 
lli: Failed to materialize symbols: { (main, {main}) }
```
FYI:
`LLVM version 14.0.6`

@jpienaar 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJylUstu2zAQ_BrqsqhA0bIeBx6SGAYcOJe0aNEjJa0kOpRo8BHD_fqSVJBecitAkLua4WCGq04Pd_4LQRgEZ-5yncBpUPqGBhYlDfR6QPB2A6yAQQqFvUss9b4Q9gSdd3CbpUIwfl0Tc0Y4n3--bLdvm_wo-oihMdrkhB4IfSAV_VipfT79AIvWSr1uNLJ7gO_3pdPKwqodjNqvQ_xI9o-w4GJwfNLXe2gPsEkoJSN-FMHOEE0uwqEJnuUfBLtJJYH6EQhrFiHXGCG0qawPhLUQj6_8HX-fwt1PKCV8R5P8FmVO8-qT-rGX9HKVuAphIENeVBWjrK4alg18N7S7VmROOoU85Hk5n16DlSga4_x3gswbxWfnrpFN2DGsSbrZd3mvw9iO2_TS8e1q9CUMNbTSWo82FPu6bKts5mVBx5FWYl83XSMY1kibBhtRtiW2NSszJTpUNiYgjK14gyQR6pAikzwEZrSlRUFZwVjeF1h1uxJ7ShnFEsMLYfCt8ugj12bKDE-WOj_ZACppnf0HivBzTCumB4v6wrtZG27ERdgZ34R5E9Z5I7NkgqcQfwFaKuMF">