diff options
author | Philip Reames <preames@rivosinc.com> | 2023-08-10 08:54:05 -0700 |
---|---|---|
committer | Philip Reames <listmail@philipreames.com> | 2023-08-10 08:54:05 -0700 |
commit | b1ada7a1d31ee28a7c0e57268c6c6fe24931f25d (patch) | |
tree | b852277d725f6936ab2eb56e8330dd1efe9441ce /clang/unittests/libclang/LibclangTest.cpp | |
parent | e838471bc4936854ced32709f7f105af87aed798 (diff) | |
download | llvm-b1ada7a1d31ee28a7c0e57268c6c6fe24931f25d.zip llvm-b1ada7a1d31ee28a7c0e57268c6c6fe24931f25d.tar.gz llvm-b1ada7a1d31ee28a7c0e57268c6c6fe24931f25d.tar.bz2 |
[DAG] Support store merging of vector constant stores (try 2)
Original commit didn't handle the case where one of the stores was a
truncating store of the build_vector. The existing codepath produced
wrong code (which thankfully also failed asserts) instead of guarding
against unexpected types. Original commit message follows..
Ran across this when making a change to RISCV memset lowering. Seems
very odd that manually merging a store into a vector prevents it from
being further merged.
Differential Revision: https://reviews.llvm.org/D156349
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions