[PATCH] D63141: [DAGCombine] GetNegatedExpression - add FMA\FMAD support
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 20 06:35:19 PDT 2019
RKSimon updated this revision to Diff 216134.
RKSimon added a comment.
Updated patch to correctly respect NSZ flags. I've also improved the logic to ensure we negate the most profitable multiplication factor, not just the first one.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63141/new/
https://reviews.llvm.org/D63141
Files:
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/X86/fma-fneg-combine-2.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63141.216134.patch
Type: text/x-patch
Size: 6132 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190820/87e24025/attachment.bin>
More information about the llvm-commits
mailing list