aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ArchiveWriter.cpp
diff options
context:
space:
mode:
authorMatt Arsenault <Matthew.Arsenault@amd.com>2022-01-12 16:28:49 -0500
committerMatt Arsenault <Matthew.Arsenault@amd.com>2022-01-17 10:06:33 -0500
commit9392b40d4b1999c9b33490829552d928a2fa9bab (patch)
tree681e531a7a2733175109755c51a22a2a7f0ad3f3 /llvm/lib/Object/ArchiveWriter.cpp
parent0b1140e883527101599e09462d8aa353cdec1903 (diff)
downloadllvm-9392b40d4b1999c9b33490829552d928a2fa9bab.zip
llvm-9392b40d4b1999c9b33490829552d928a2fa9bab.tar.gz
llvm-9392b40d4b1999c9b33490829552d928a2fa9bab.tar.bz2
AMDGPU/GlobalISel: Fix selection of constant 32-bit addrspace loads
Unfortunately the selection patterns still rely on the address space from the memory operand instead of using the pointer type. Add this address space to the list of cases supported by global-like loads. Alternatively we would have to adjust the address space of the memory operand to deviate from the underlying IR value, which looks ugly and is more work in the legalizer. This doesn't come up in the DAG path because it uses a different selection strategy where the cast is inserted during the addressing mode matching.
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions