diff options
author | Easwaran Raman <eraman@google.com> | 2018-08-06 19:23:38 +0000 |
---|---|---|
committer | Easwaran Raman <eraman@google.com> | 2018-08-06 19:23:38 +0000 |
commit | 10fd92dd941325d874762ba3fd5d2f0361b2d0b3 (patch) | |
tree | 06d779664cfcf226645e91b4323940a55db06b89 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 96e6ed645d0dd8c105c70b10413f60f5ecbf435d (diff) | |
download | llvm-10fd92dd941325d874762ba3fd5d2f0361b2d0b3.zip llvm-10fd92dd941325d874762ba3fd5d2f0361b2d0b3.tar.gz llvm-10fd92dd941325d874762ba3fd5d2f0361b2d0b3.tar.bz2 |
[X86] Recognize a splat of negate in isFNEG
Summary:
Expand isFNEG so that we generate the appropriate F(N)M(ADD|SUB)
instructions in more cases. For example, the following sequence
a = _mm256_broadcast_ss(f)
d = _mm256_fnmadd_ps(a, b, c)
generates an fsub and fma without this patch and an fnma with this
change.
Reviewers: craig.topper
Subscribers: llvm-commits, davidxl, wmi
Differential Revision: https://reviews.llvm.org/D48467
llvm-svn: 339043
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions