[llvm-dev] PR43374 - when should comparing NaN values raise a floating point exception?

Sanjay Patel via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 8 06:03:53 PDT 2019


On Tue, Oct 8, 2019 at 8:44 AM Szabolcs Nagy <nsz at port70.net> wrote:

> * Sanjay Patel <spatel at rotateright.com> [2019-10-08 08:07:10 -0400]:
> > On Tue, Oct 8, 2019 at 7:08 AM Szabolcs Nagy <nsz at port70.net> wrote:
> > > why is that ok?
> > >
> >
> > Because there are no FP exceptions/signals for this IR opcode:
> > http://llvm.org/docs/LangRef.html#floating-point-environment
>
> so llvm cannot support an iso c frontend on an ieee754 target?
> (or fortran for that matter)
>

Not sure. I thought we solved the problems for all of the examples given so
far.
Do you have an end-to-end (C source to asm) example that shows a bug?
Please cite the C language law that is violated (add cfe-dev if there's a
front-end bug?).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20191008/61aa2d58/attachment.html>


More information about the llvm-dev mailing list