[llvm] [ValueTracking] Allow tracking values through Integral AddrSpaceCasts (PR #70483)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 11 22:01:00 PDT 2024


arsenm wrote:

>  I'm not sure the semantics of this instruction, but I would assume it is not semantically equivalent to truncated / extended bitcast. Based on this assumption, this analysis is not correct for this address space. 

It is correct, because it doesn't involve any change in the high bits. It's exactly the same as for AMDGPU




https://github.com/llvm/llvm-project/pull/70483


More information about the llvm-commits mailing list