[PATCH] D151349: [HIP] emit macro `__HIP_NO_IMAGE_SUPPORT`
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 15 19:52:27 PDT 2023
yaxunl added a comment.
In D151349#4426008 <https://reviews.llvm.org/D151349#4426008>, @jhuber6 wrote:
> I've started seeing these errors when compiling for OpenMP targeting AMDGPU:
>
> $ clang input.c -fopenmp --offload-arch=gfx1030
> warning: feature flag '+image-insts' is ignored since the feature is read only [-Winvalid-command-line-argument]
>
> Any suggestions for what might cause this?
That means TargetInfo::initFeatureMap is called with `+image-insts`. I will take a look.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D151349/new/
https://reviews.llvm.org/D151349
More information about the cfe-commits
mailing list