[clang] [llvm] [Driver][SYCL] Add initial SYCL offload compilation support (PR #107493)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 17 13:57:30 PDT 2024
================
@@ -831,6 +831,13 @@ class Triple {
getArch() == Triple::spirv;
}
+ // Tests whether the target is SPIR-V or SPIR. Currently, we use spir-based
+ // target triples to represent JIT compilation targets for SYCL. We will
+ // transition to using spir-v based target triples to represent JIT
+ // compilation targets for SYCL very soon. This helper function is used
+ // (instead of isSPIR) to ease that transition.
----------------
tahonermann wrote:
Comments that attempt to predict the future have a tendency to either be wrong or to predict the past ;)
https://github.com/llvm/llvm-project/pull/107493
More information about the cfe-commits
mailing list