aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/MathExtrasTest.cpp
diff options
context:
space:
mode:
authorNick Sarnie <nick.sarnie@intel.com>2025-09-11 23:24:41 +0900
committerGitHub <noreply@github.com>2025-09-11 14:24:41 +0000
commit343186deefcafdcf4e5a63e669a8ddc7ec9fd415 (patch)
treefb6ed1d68e0efbc6764d4c8bd9e1811c09d563f9 /llvm/unittests/Support/MathExtrasTest.cpp
parentbc755ae2fc5950248fd25c0a80a09496acc87f9e (diff)
downloadllvm-343186deefcafdcf4e5a63e669a8ddc7ec9fd415.zip
llvm-343186deefcafdcf4e5a63e669a8ddc7ec9fd415.tar.gz
llvm-343186deefcafdcf4e5a63e669a8ddc7ec9fd415.tar.bz2
[clang][SPIRV] Set program address space for Intel-flavored SPIR-V (#135251)
Technically, SPIR-V should use addrspace(4) for generic pointers. We already set the default AS in TargetInfo to 4, but that's not enough for all cases. Also set the program address space to 4 to fix the remaining cases. AMD already does this for their SPIR-V target, do it for Intel's SPIR-V target. I need this for OpenMP offloading to SPIR-V. There are a couple of places I need to change in the OMP FE to check the program AS, I'll do that in a follow-up PR. --------- Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
Diffstat (limited to 'llvm/unittests/Support/MathExtrasTest.cpp')
0 files changed, 0 insertions, 0 deletions