[PATCH] D151349: [HIP] emit macro `__HIP_NO_IMAGE_SUPPORT`

Yaxun Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 09:49:13 PDT 2023


yaxunl updated this revision to Diff 529644.
yaxunl added a comment.

warn if users try to enable/disable image-insts and do not emit image-insts as function attributes in IR


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D151349/new/

https://reviews.llvm.org/D151349

Files:
  clang/include/clang/Basic/DiagnosticFrontendKinds.td
  clang/include/clang/Basic/TargetInfo.h
  clang/lib/Basic/TargetInfo.cpp
  clang/lib/Basic/Targets/AMDGPU.cpp
  clang/lib/Basic/Targets/AMDGPU.h
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Frontend/InitPreprocessor.cpp
  clang/test/Driver/hip-macros.hip
  llvm/lib/TargetParser/TargetParser.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151349.529644.patch
Type: text/x-patch
Size: 10286 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230608/682df175/attachment.bin>


More information about the llvm-commits mailing list