diff options
author | Simon Pilgrim <RKSimon@users.noreply.github.com> | 2023-11-23 14:10:23 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-23 14:10:23 +0000 |
commit | 67275263b3b781a55ec4f297b5f42ffd783349ec (patch) | |
tree | 87e0af9344a1f9bda0e823fd7266b4ca9c6b2b74 /clang/lib/Frontend/TestModuleFileExtension.cpp | |
parent | aaae104e282505add432ccc76a4adb674087190f (diff) | |
download | llvm-67275263b3b781a55ec4f297b5f42ffd783349ec.zip llvm-67275263b3b781a55ec4f297b5f42ffd783349ec.tar.gz llvm-67275263b3b781a55ec4f297b5f42ffd783349ec.tar.bz2 |
[X86] X86DAGToDAGISel - attempt to merge XMM/YMM loads with YMM/ZMM loads of the same ptr (#73126)
If we are loading the same ptr at different vector widths, then reuse the larger load and just extract the low subvector.
Unlike the equivalent VBROADCAST_LOAD/SUBV_BROADCAST_LOAD folds which can occur in DAG, we have to wait until DAGISel otherwise we can hit infinite loops if constant folding recreates the original constant value.
This is mainly useful for better constant sharing.
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions