[PATCH] D24221: AVX512F: FMA intrinsic + FNEG - sequence optimization
Elena Demikhovsky via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 4 12:28:41 PDT 2016
delena created this revision.
delena added reviewers: spatel, RKSimon, igorb.
delena added a subscriber: llvm-commits.
delena set the repository for this revision to rL LLVM.
The previous patch https://reviews.llvm.org/D23313 does not cover AVX-512F, KNL set.
FNEG(x) operation is lowered to (bitcast (vpxor (bitcast x), (bitcast constfp(0x80000000))).
It happens because FP XOR is not supported for 512-bit data types on KNL and we use integer XOR instead.
I added pattern match for integer XOR.
Repository:
rL LLVM
https://reviews.llvm.org/D24221
Files:
../lib/Target/X86/X86ISelLowering.cpp
../test/CodeGen/X86/fma-fneg-combine.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24221.70291.patch
Type: text/x-patch
Size: 13977 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160904/131e4cd2/attachment.bin>
More information about the llvm-commits
mailing list