aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-01-19 17:04:06 +0100
committerNikita Popov <npopov@redhat.com>2023-01-20 15:24:10 +0100
commitd49b842ea2b466ead10a140037c90901438ba9d3 (patch)
tree16ad6dfe3e7d959c3dd2e6b542b70a8b0c7c3180 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parentfcd505d040ccc4d5ce8a4e704f36f7e605142935 (diff)
downloadllvm-d49b842ea2b466ead10a140037c90901438ba9d3.zip
llvm-d49b842ea2b466ead10a140037c90901438ba9d3.tar.gz
llvm-d49b842ea2b466ead10a140037c90901438ba9d3.tar.bz2
[SROA] Use copyMetadataForLoad() helper
Instead of copying just nonnull metadata, use the generic helper to copy metadata to the new load. This helper is specifically designed for the case where the load type may change, so it's safe to use in this context.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions