diff options
author | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2016-09-07 06:54:28 +0000 |
---|---|---|
committer | Elena Demikhovsky <elena.demikhovsky@intel.com> | 2016-09-07 06:54:28 +0000 |
commit | f0ddd1b8b5b33ff1484768fc79fe3606a6ce133c (patch) | |
tree | 8abf74613c2512bf71dc1f7ea8c3881c04c899ae /clang/lib/Basic/TargetInfo.cpp | |
parent | 479ba3aac0415ae01c450c5bd886aab21e7d15b8 (diff) | |
download | bcm5719-llvm-f0ddd1b8b5b33ff1484768fc79fe3606a6ce133c.tar.gz bcm5719-llvm-f0ddd1b8b5b33ff1484768fc79fe3606a6ce133c.zip |
AVX512F: FMA intrinsic + FNEG - sequence optimization
The previous commit (r280368 - 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.
Differential Revision: https://reviews.llvm.org/D24221
llvm-svn: 280785
Diffstat (limited to 'clang/lib/Basic/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions