[llvm-dev] [FPEnv] FNEG instruction
Matt Arsenault via llvm-dev
llvm-dev at lists.llvm.org
Wed Aug 29 08:15:56 PDT 2018
> On Aug 29, 2018, at 17:50, Cameron McInally via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Ping...
>
> The current thinking is that FNEG(X) and FSUB(-0.0, X) are not the same operation when X is a NaN or 0. So, the xforms in question should only be valid under Fast-Math conditions.
>
> Is correcting this behavior something that the general LLVM population would like? If not, we can create constrained intrinsics for the FPEnv project.
>
> Thanks again,
> Cameron
+1
More information about the llvm-dev
mailing list