Vikram TV via llvm-dev
2020-Dec-04 04:44 UTC
[llvm-dev] Fwd: [lli][compiler-rt][halfType] lli segfaults while executing half type.
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/20201204/11207795/attachment-0001.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: addHalf.ll Type: application/octet-stream Size: 2615 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201204/11207795/attachment-0001.obj>
Vikram TV via llvm-dev
2020-Dec-10 10:43 UTC
[llvm-dev] [lli][compiler-rt][halfType] lli segfaults while executing half type.
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>