[all-commits] [llvm/llvm-project] 069624: LowerMemIntrinsics: Check address space aliasing f...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Jun 14 04:57:12 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0696240384cf4b18f65e31d68b51df96c328cb24
https://github.com/llvm/llvm-project/commit/0696240384cf4b18f65e31d68b51df96c328cb24
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M llvm/lib/Transforms/Utils/LowerMemIntrinsics.cpp
M llvm/test/CodeGen/AMDGPU/lower-mem-intrinsics.ll
Log Message:
-----------
LowerMemIntrinsics: Check address space aliasing for memmove expansion
For cases where we cannot insert an addrspacecast, we can still expand
like a memcpy if we know the address spaces cannot alias. Normally
non-aliasing memmoves are optimized to memcpy, but we cannot rely on
that for lowering. If a target has aliasing address spaces that cannot
be casted between, we still have to give up lowering this.
More information about the All-commits
mailing list