[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
Wed Jan 15 21:56:11 PST 2020
pengfei created this revision.
pengfei added reviewers: craig.topper, andrew.w.kaylor, uweigand, RKSimon, LiuChen3.
pengfei added a project: LLVM.
X86 has instructions to calculate fma and fneg at the same time. But we combine the fneg and fma only when fneg is the source operand under strict FP.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D72824
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/lib/Target/X86/X86ISelLowering.h
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrFMA.td
llvm/lib/Target/X86/X86InstrFragmentsSIMD.td
llvm/test/CodeGen/X86/fp-intrinsics-fma.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72824.238416.patch
Type: text/x-patch
Size: 36050 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200116/803f4f61/attachment-0001.bin>
More information about the cfe-commits
mailing list