[llvm-dev] EuroLLVM Numerics issues

Cameron McInally via llvm-dev llvm-dev at lists.llvm.org
Mon Apr 1 09:10:28 PDT 2019


On Mon, Apr 1, 2019 at 11:52 AM Matt Arsenault <arsenm2 at gmail.com> wrote:

>
>
> On Apr 1, 2019, at 11:30 AM, Cameron McInally via llvm-dev <
> llvm-dev at lists.llvm.org> wrote:
>
> What did you have in mind? I was not aware that there is work pending.
>
>
> As far as I know, fneg isn’t constant folded.
>

Ah, yes. I did know that, but forgot. It's now on my todo list...


> The tests haven’t been migrated, and clang is still emitting fsub -0.0, x.
> I’m not sure what the state of the rest of the optimizations is, but I just
> remember the initial instruction getting added.
>

Huh, I did not know this. I thought I did a visual inspection and saw that
FNeg IR was being generated by Clang, but I'm probably wrong. Also on my
todo list now.

Thanks, Matt!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190401/d1050232/attachment.html>


More information about the llvm-dev mailing list