aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-11-23 17:17:47 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-11-27 10:26:26 +0000
commit11276563c81987791a2326950dbc3315a32dd709 (patch)
tree3eec7f9fa049a7bd404fb3d25a0ff5cc21fb5b14 /flang/lib/Frontend/CompilerInvocation.cpp
parent489df61a2960cbd154fe0a2c23918c2609ef4357 (diff)
downloadllvm-11276563c81987791a2326950dbc3315a32dd709.zip
llvm-11276563c81987791a2326950dbc3315a32dd709.tar.gz
llvm-11276563c81987791a2326950dbc3315a32dd709.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 largest 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 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions