aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/SplitKit.cpp
diff options
context:
space:
mode:
authorDaniel Zabawa <daniel.zabawa@intel.com>2025-03-03 20:35:37 -0500
committerGitHub <noreply@github.com>2025-03-04 09:35:37 +0800
commit415f89905fa04bdee2f0f5a8886706756699d06e (patch)
tree4c0ca5cfdf449ea237a0dad3e0af89d68dd6365a /llvm/lib/CodeGen/SplitKit.cpp
parentf38ce27c13760d166fda41dbb0ad815f40e4e874 (diff)
downloadllvm-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