Symbols not found: [ memrefCopy ]

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

The relevant part is Symbols not found: [ memrefCopy ] . You need to link/load the support library, see this test for an example.

Thanks Alex, That worked!