bader accepted this revision. bader added a comment. This revision is now accepted and ready to land.
LGTM. ================ Comment at: clang/lib/Basic/Targets/SPIR.h:146 + // See comment on the SPIRDefIsGenMap table. + bool IsHIPSPV = Opts.HIP && Opts.CUDAIsDevice; // FIXME: SYCL specification considers unannotated pointers and references ---------------- Minor: in my opinion, Opts.HIP check is unnecessary. I don't think CUDA can be compiled to SPIR target today, but when this flow is enabled I think it should set `DefaultIsGeneric` flag the same way as HIP. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D108621/new/ https://reviews.llvm.org/D108621 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits