[llvm-dev] When a libcall will be generated?

陳韋任 via llvm-dev llvm-dev at lists.llvm.org
Fri May 19 06:44:24 PDT 2017


Hi All,

  I am looking at a linker error under O2:

     undefined symbol __lshrdi3

I have two questions here:

  1. Does that mean our libgcc (?) doesn't implement __lshrdi3? Or more
generally, why I have
      such linker error?

  2. Seems some operations are combined, and replaced with __lshrdi3 call.
I am interested in
      when such libcall will be generated? Could you show me one example so
that I can trace
      the LLVM source code on my own?

Thanks.

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Homepage: https://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170519/ddb40fef/attachment-0001.html>


More information about the llvm-dev mailing list