================
@@ -492,6 +493,11 @@ class LLVM_LIBRARY_VISIBILITY AMDGPUTargetInfo final : 
public TargetInfo {
 
   bool hasHIPImageSupport() const override { return HasImage; }
 
+  bool hasOpenCLImageSupport() const override {
+    return !getTriple().isAMDGCN() || GPUKind == llvm::AMDGPU::GK_NONE ||
----------------
arsenm wrote:

None still should get the subtarget feature check 

https://github.com/llvm/llvm-project/pull/242675
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to