diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2025-05-09 14:15:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-09 14:15:56 +0200 |
commit | 416cdcf3aa75ea6a6dd4fe6f76a8d7251e06e0b3 (patch) | |
tree | 1b910b98bca50d14fcb0afd6ee602f26b501cf19 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | b291cfcad4815568dc1eaca58185d25dceed3f1c (diff) | |
download | llvm-416cdcf3aa75ea6a6dd4fe6f76a8d7251e06e0b3.zip llvm-416cdcf3aa75ea6a6dd4fe6f76a8d7251e06e0b3.tar.gz llvm-416cdcf3aa75ea6a6dd4fe6f76a8d7251e06e0b3.tar.bz2 |
clang/OpenCL: Fix special casing OpenCL in call emission (#138864)
This essentially reverts 1bf1a156d673.
OpenCL's handling of address spaces has always been a mess, but it's
better than it used to be so this hack appears to be unnecessary now.
None of the code here should really depend on the language or language
address space. The ABI address space to use is already explicit in the
ABIArgInfo, so use that instead of guessing it has anything to do with
LangAS::Default or getASTAllocaAddressSpace.
The below usage of LangAS::Default and getASTAllocaAddressSpace are also
suspect, but appears to be a more involved and separate fix.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions