[all-commits] [llvm/llvm-project] 8cb9c7: [LoopIdiom] Keep TBAA when creating memcpy/memmove
William Moses via All-commits
all-commits at lists.llvm.org
Mon Jan 31 13:28:25 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8cb9c7360944b1e4dd2e8125a48ede3628b459f1
https://github.com/llvm/llvm-project/commit/8cb9c7360944b1e4dd2e8125a48ede3628b459f1
Author: William S. Moses <gh at wsmoses.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M llvm/include/llvm/IR/Metadata.h
M llvm/lib/Analysis/TypeBasedAliasAnalysis.cpp
M llvm/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
A llvm/test/Transforms/LoopIdiom/memcpy-tbaa.ll
A llvm/test/Transforms/LoopIdiom/memmove-tbaa.ll
A llvm/test/Transforms/LoopIdiom/memset-tbaa.ll
Log Message:
-----------
[LoopIdiom] Keep TBAA when creating memcpy/memmove
When upgrading a loop of load/store to a memcpy, the existing pass does not keep existing aliasing information. This patch allows existing aliasing information to be kept.
Reviewed By: jeroen.dobbelaere
Differential Revision: https://reviews.llvm.org/D108221
More information about the All-commits
mailing list