aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2023-11-17 17:48:26 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2023-11-17 17:48:37 +0000
commitbfbfd1caa4da70774547c1c298e482661822a137 (patch)
tree2eca4e19bf89bec65d0934930d457babfab173a7 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parenta4051932895d9ef6c4516c42309a49912f69f740 (diff)
downloadllvm-bfbfd1caa4da70774547c1c298e482661822a137.zip
llvm-bfbfd1caa4da70774547c1c298e482661822a137.tar.gz
llvm-bfbfd1caa4da70774547c1c298e482661822a137.tar.bz2
[X86] combineLoad - try to reuse existing constant pool entries for smaller vector constant data
If we already have a YMM/ZMM constant that a smaller XMM/YMM has matching lower bits, then ensure we reuse the same constant pool entry. Extends the similar combines we already have to reuse VBROADCAST_LOAD/SUBV_BROADCAST_LOAD constant loads. This is a mainly a canonicalization, but should make it easier for us to merge constant loads in a future commit (related to both #70947 and better X86FixupVectorConstantsPass usage for #71078).
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions