[llvm-dev] using experimental intrinsics failed

Xuan Tang via llvm-dev llvm-dev at lists.llvm.org
Sat Sep 5 14:11:47 PDT 2020


Hi Craig:

I found the issue, the space before the metadata is somehow a tab in my original code, and that caused the problem.

I guess we should close the issue.

Thank you
Xuan Tang
On Sep 3, 2020, 20:51 -0500, Xuan Tang <xt585 at nyu.edu>, wrote:
> Maybe also useful to add im using clang version 11.0.3 on macOS
>
> Thank you
> Xuan Tang
> On Sep 3, 2020, 20:17 -0500, Xuan Tang <xt585 at nyu.edu>, wrote:
> >
> > ; Function Attrs: norecurse nounwind readnone ssp uwtable
> > define { double, double } @add(double, double, double, double) local_unnamed_addr #0 {
> >   %5 = call double @llvm.experimental.constrained.fadd(double %0, double %2, metadata !"round.downward", metadata !"fpexcept.ignore")
> >   %6 = fadd double %1, %3
> >   %7 = insertvalue { double, double } undef, double %5, 0
> >   %8 = insertvalue { double, double } %7, double %6, 1
> >   ret { double, double } %8
> > }
> >
> > declare double @llvm.experimental.constrained.fadd(double, double, metadata, metadata)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200905/94cbc981/attachment.html>


More information about the llvm-dev mailing list