[llvm-dev] [FPEnv] FNEG instruction

Kevin Neal via llvm-dev llvm-dev at lists.llvm.org
Tue Oct 2 12:47:49 PDT 2018


Can cos() trap? We have a constrained intrinsic for it.

From: Cameron McInally <cameron.mcinally at nyu.edu>
Sent: Tuesday, October 02, 2018 3:18 PM
To: Kevin Neal <Kevin.Neal at sas.com>
Cc: Sanjay Patel <spatel at rotateright.com>; LLVM Developers Mailing List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] [FPEnv] FNEG instruction


EXTERNAL
On Tue, Oct 2, 2018 at 12:09 PM Kevin Neal <Kevin.Neal at sas.com<mailto:Kevin.Neal at sas.com>> wrote:
If we don’t have constrained intrinsics for some of the fp math instructions then aren’t we risking non-strict optimizations?

So far we've only added constrained FP intrinsics for operations that have side effects (i.e. can trap).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20181002/742369d0/attachment.html>


More information about the llvm-dev mailing list