[PATCH] D138870: clang/AMDGPU: Remove flat-address-space from feature map
Matt Arsenault via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 30 06:39:16 PST 2022
arsenm added a comment.
In D138870#4020204 <https://reviews.llvm.org/D138870#4020204>, @Joe_Nash wrote:
> The code looks fine, but as you say, the change visible in user code and could break something. Do you want to handle that somehow? Maybe wait for @b-sumner
OpenMP assumes flat pointers all over, so if someone was relying on this behavior it wasn't doing anything useful. They had dead code
================
Comment at: clang/test/OpenMP/metadirective_device_isa_codegen_amdgcn.cpp:17
#pragma omp metadirective \
- when(device = {isa("flat-address-space")} \
+ when(device = {isa("dpp")} \
: parallel) default(single)
----------------
Joe_Nash wrote:
> Was the "dpp" attribute chosen arbitrarily?
Yes, also meaningfully varies
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D138870/new/
https://reviews.llvm.org/D138870
More information about the cfe-commits
mailing list