[llvm-bugs] [Bug 49906] New: ORC does not honor the --entry-function flag

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Apr 9 07:51:56 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=49906

            Bug ID: 49906
           Summary: ORC does not honor the --entry-function flag
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: OrcJIT
          Assignee: unassignedbugs at nondot.org
          Reporter: ecg at google.com
                CC: 1101.debian at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 24737
  --> https://bugs.llvm.org/attachment.cgi?id=24737&action=edit
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 ]

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210409/b7daf383/attachment.html>


More information about the llvm-bugs mailing list