Created attachment 24737 [details] rsqrt lli example with @entry function $ bin/lli -jit-kind=mcjit --entry-function=entry --mattr="avx512bw" --dlopen=$(pwd)/lib/libmlir_c_runner_utils.so rsqrt.lli ( 0.125, 0.25, 0.5, 1, 2, 4, 8, 16 ) ( 2.82764, 1.99951, 1.41382, 0.999756, 0.706909, 0.499878, 0.353455, 0.249939 ) $ bin/lli -jit-kind=orc --entry-function=entry --mattr="avx512bw" --dlopen=$(pwd)/lib/libmlir_c_runner_utils.so rsqrt.lli bin/lli: Symbols not found: [ main ]
Using MCJIT is an effective workaround, e.g. https://reviews.llvm.org/D100344 . Adding this note as a reminder to ourselves to clean up those invocations once this bug is fixed.
+Stefan and Lang for this, I assume it is likely just a missing plumbing between lli and ORC?
Hi Emilio, Mehdi, Yep -- this was just missing plumbing. It should be fixed in 9b8e7a9d7dc7. -- Lang.