aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <RKSimon@users.noreply.github.com>2023-11-23 14:10:23 +0000
committerGitHub <noreply@github.com>2023-11-23 14:10:23 +0000
commit67275263b3b781a55ec4f297b5f42ffd783349ec (patch)
tree87e0af9344a1f9bda0e823fd7266b4ca9c6b2b74 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parentaaae104e282505add432ccc76a4adb674087190f (diff)
downloadllvm-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/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions