[all-commits] [llvm/llvm-project] a4898b: [Local] Preserve range metadata if the type did no...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jan 20 06:28:49 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a4898b437dbd76bf62c6fc2c5f015c327aa19190
https://github.com/llvm/llvm-project/commit/a4898b437dbd76bf62c6fc2c5f015c327aa19190
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/Transforms/SROA/preserve-metadata.ll
Log Message:
-----------
[Local] Preserve range metadata if the type did not change
In copyRangeMetadata() and by extension copyLoadMetadata(),
handle the trivial case where the type did not change, in which
case we can simply preserve the range metadata as is.
More information about the All-commits
mailing list