diff options
author | Daniel Zabawa <daniel.zabawa@intel.com> | 2025-03-03 20:35:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-04 09:35:37 +0800 |
commit | 415f89905fa04bdee2f0f5a8886706756699d06e (patch) | |
tree | 4c0ca5cfdf449ea237a0dad3e0af89d68dd6365a /llvm/lib/CodeGen/SplitKit.cpp | |
parent | f38ce27c13760d166fda41dbb0ad815f40e4e874 (diff) | |
download | llvm-415f89905fa04bdee2f0f5a8886706756699d06e.zip llvm-415f89905fa04bdee2f0f5a8886706756699d06e.tar.gz llvm-415f89905fa04bdee2f0f5a8886706756699d06e.tar.bz2 |
[X86] Remove single-use checks when combining xor and vfmulc/vcfmulc. (#128910)
The current implementation to combine xor patterns for conjugation with
complex multiplies will not perform the transformation when either the
conjugate xor result or other multiplicand have other uses. This change
eliminates both single-use checks.
The transformation will eliminate the xor dependence and hence should be
profitable even if the conjugate is used elsewhere - and more profitable
if the xor is used in multiple fmulc/fcmulc instructions, eventually
going dead.
The check of the other multiplicand isn't required for correctness and
has no apparent performance implications.
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.cpp')
0 files changed, 0 insertions, 0 deletions