Files
clang-p2996/llvm/lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp
Matt Arsenault a09f79d227 TargetTransformInfo: Add addrspacesMayAlias
For some reason we used to only handle address space aliasing through
chaining a target specific AA pass. We need never-fail simple queries
in order to lower memmove intrinsics based purely on the address
spaces.

I also think it would be better if BasicAA checked this, rather than
relying on the target AA passes. Currently we go through the more
expensive AA analyses before getting to the trivial address space
checks.
2023-06-13 20:44:00 -04:00

4.4 KiB