AMDGPU: Fix broken opaque pointer handling in printf pass
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 22 Dec 2022 16:49:00 +0000 (11:49 -0500)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Thu, 5 Jan 2023 18:48:32 +0000 (13:48 -0500)
commit7c327c2fbb8af6ff6eeb93cb976212068044a9e2
treedbdf4dbef3e061c6688d38354cac432d45c6d34a
parent53ab564ecfc93984ded8cce26d210af9f828a49c
AMDGPU: Fix broken opaque pointer handling in printf pass

This was directly considering the pointee type, and also applying
special semantics to constant address space.
llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
llvm/test/CodeGen/AMDGPU/opencl-printf.ll