aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/VirtualFileSystem.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-01-19 15:47:13 +0100
committerNikita Popov <npopov@redhat.com>2022-01-20 09:25:13 +0100
commitd7bff2e9d2e4639ab7f3b5df49c235b9eeebdb51 (patch)
tree40d636b19cf9621dff5fa660bd520113135a7304 /llvm/lib/Support/VirtualFileSystem.cpp
parent22ee510dac9440a74b2e5b3fe3ff13ccdbf55af3 (diff)
downloadllvm-d7bff2e9d2e4639ab7f3b5df49c235b9eeebdb51.zip
llvm-d7bff2e9d2e4639ab7f3b5df49c235b9eeebdb51.tar.gz
llvm-d7bff2e9d2e4639ab7f3b5df49c235b9eeebdb51.tar.bz2
[MemCpyOpt] Fix metadata merging during call slot optimization
Call slot optimization currently merges the metadata between the call and the load. However, we also need to merge in the metadata of the store. Part of the reason why we might have gotten away with this previously is that usually the load and the store are the same instruction (a memcpy), this can only happen if call slot optimization occurs on an actual load/store pair. This addresses the issue reported in https://reviews.llvm.org/D115615#3251386. Differential Revision: https://reviews.llvm.org/D117679
Diffstat (limited to 'llvm/lib/Support/VirtualFileSystem.cpp')
0 files changed, 0 insertions, 0 deletions