[llvm-dev] [lli][compiler-rt][halfType] lli segfaults while executing half type.

Vikram TV via llvm-dev llvm-dev at lists.llvm.org
Thu Dec 10 02:43:12 PST 2020


A gentle ping!

On Fri, 4 Dec 2020, 10:14 Vikram TV, <vikram.tarikere at gmail.com> wrote:

> Hi all,
>
> I have an LLVM IR (attached) that contain half types. This IR does a
> simple addition of float and half variables. The half type conversions call
> "__gnu_h2f_ieee" function from compiler-rt, which means I need to link
> against compiler-rt.
>
> While I can do this with `llc' workflow by using the "--rtlib=compiler-rt"
> option for clang, I could not find a way to call in compiler-rt libraries
> while running with `lli'.
>
> Is there a way to specify compiler-rt libs for lli?
>
> Currently, lli segfaults while executing the attached IR. So I had posted
> a bug on this a while back at https://bugs.llvm.org/show_bug.cgi?id=48213
> , but thought of asking it here since it is a generic issue.
>
> Thanks
> Vikram
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201210/dadf30ee/attachment.html>


More information about the llvm-dev mailing list