[PATCH] D72824: [X86] Add combination for fma and fneg on X86 under strict FP.
Pengfei Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 23 01:25:07 PST 2020
pengfei added a comment.
In D72824#1835568 <https://reviews.llvm.org/D72824#1835568>, @RKSimon wrote:
> Add to isNegatibleForFree/getNegatedExpression as well?
We don't need to add them to isNegatibleForFree/getNegatedExpression. We won't negate any FMA results by negative FMA instructions under strict FP, because fneg(FMA) has different result from FNMA under some rounding mode.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72824/new/
https://reviews.llvm.org/D72824
More information about the cfe-commits
mailing list