diff --git a/clang/include/clang/Basic/DiagnosticDriverKinds.td b/clang/include/clang/Basic/DiagnosticDriverKinds.td index 829ad5944f2b..9f286a8f2839 100644 --- a/clang/include/clang/Basic/DiagnosticDriverKinds.td +++ b/clang/include/clang/Basic/DiagnosticDriverKinds.td @@ -223,7 +223,7 @@ def warn_drv_omp_offload_target_duplicate : Warning< "The OpenMP offloading target '%0' is similar to target '%1' already specified - will be ignored.">, InGroup; def warn_drv_sycl_offload_target_duplicate : Warning< - "The SYCL offloading target '%0' is similar to target '%1' already specified - will be ignored.">, + "The SYCL offloading target '%0' is similar to target '%1' already specified - will be ignored.">, InGroup; def warn_drv_omp_offload_target_missingbcruntime : Warning< "No library '%0' found in the default clang lib directory or in LIBRARY_PATH. Expect degraded performance due to no inlining of runtime functions on target devices.">, diff --git a/clang/include/clang/Driver/ToolChain.h b/clang/include/clang/Driver/ToolChain.h index df01d06bd2be..3815978051e3 100644 --- a/clang/include/clang/Driver/ToolChain.h +++ b/clang/include/clang/Driver/ToolChain.h @@ -276,7 +276,7 @@ class ToolChain { } /// TranslateOffloadTargetArgs - Create a new derived argument list for - /// that contains the Offloat target specific flags passed via + /// that contains the Offload target specific flags passed via /// -Xopenmp-target -opt=val OR -Xopenmp-target= -opt=val /// Also handles -Xsycl-target OR -Xsycl-target= virtual llvm::opt::DerivedArgList *TranslateOffloadTargetArgs( diff --git a/clang/include/clang/Sema/Sema.h b/clang/include/clang/Sema/Sema.h index 1e844017f571..d8ee5fea48d5 100644 --- a/clang/include/clang/Sema/Sema.h +++ b/clang/include/clang/Sema/Sema.h @@ -280,7 +280,7 @@ class FileNullabilityMap { // mechanism should be developed to enforce that. // TODO FIXME SYCL Support for SYCL in FE should be refactored: -// - kernel indentification and generation should be made a separate pass over +// - kernel identification and generation should be made a separate pass over // AST. RecursiveASTVisitor + VisitFunctionTemplateDecl + // FunctionTemplateDecl::getSpecializations() mechanism could be used for that. // - All SYCL stuff on Sema level should be encapsulated into a single Sema @@ -10957,7 +10957,7 @@ class Sema { // We store SYCL Kernels here and handle separately -- which is a hack. // FIXME: It would be best to refactor this. SmallVector SyclKernel; - // SYCL integratrion header instance for current compilation unit this Sema + // SYCL integration header instance for current compilation unit this Sema // is associated with. std::unique_ptr SyclIntHeader; @@ -10965,7 +10965,7 @@ class Sema { void AddSyclKernel(Decl * d) { SyclKernel.push_back(d); } SmallVector &SyclKernels() { return SyclKernel; } - /// Lazily creates and returns SYCL integratrion header instance. + /// Lazily creates and returns SYCL integration header instance. SYCLIntegrationHeader &getSyclIntegrationHeader() { if (SyclIntHeader == nullptr) SyclIntHeader = llvm::make_unique( diff --git a/clang/lib/CodeGen/CodeGenTypes.cpp b/clang/lib/CodeGen/CodeGenTypes.cpp index 504d81c625f5..3a463b94d805 100644 --- a/clang/lib/CodeGen/CodeGenTypes.cpp +++ b/clang/lib/CodeGen/CodeGenTypes.cpp @@ -58,7 +58,7 @@ void CodeGenTypes::addRecordTypeName(const RecordDecl *RD, // NOTE: The following block of code is copied from CLANG-3.6 with // support of OpenCLCPlusPlus. It is rather the temporary solution // that is going to be used until the general solution is ported/developed - // in the latest llvm trunc. + // in the latest llvm trunk. // // For SYCL, the mangled type name is attached, so it can be // reflown to proper name later. diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp index cd127a29cbe0..764ae06057cc 100644 --- a/clang/lib/Driver/Driver.cpp +++ b/clang/lib/Driver/Driver.cpp @@ -3204,9 +3204,9 @@ class OffloadingActionBuilder final { for (StringRef Val : SYCLAddTargets->getValues()) { // Parse out the Triple and Input (triple:binary) and create a // ToolChain for each entry. Each of these will be wrapped and fed - // into the final binary + // into the final binary. // Populate the pairs, expects format of 'triple:file', any other - // format will not be accepted + // format will not be accepted. std::pair I = Val.split(':'); llvm::Triple TT; const char * TF; diff --git a/clang/lib/Sema/SemaSYCL.cpp b/clang/lib/Sema/SemaSYCL.cpp index d570250bd76e..7ef90f00a3a8 100644 --- a/clang/lib/Sema/SemaSYCL.cpp +++ b/clang/lib/Sema/SemaSYCL.cpp @@ -712,7 +712,7 @@ void Sema::ConstructSYCLKernel(FunctionDecl *KernelCallerFunc) { const TemplateArgumentList *TemplateArgs = KernelCallerFunc->getTemplateSpecializationArgs(); assert(TemplateArgs && "No template argument info"); - // The first teamplate argument always describes the kernel name - whether + // The first template argument always describes the kernel name - whether // it is lambda or functor. QualType KernelNameType = TypeName::getFullyQualifiedType( TemplateArgs->get(0).getAsType(), getASTContext(), true); diff --git a/llvm/lib/SYCL/ASFixer.cpp b/llvm/lib/SYCL/ASFixer.cpp index 040e124876df..ac67c28c656c 100644 --- a/llvm/lib/SYCL/ASFixer.cpp +++ b/llvm/lib/SYCL/ASFixer.cpp @@ -554,7 +554,7 @@ struct ASFixer : public ModulePass { // into structure so we need to check structures with // pointers and replace it if needed. // As described in SYCL spec structures with pointers - // can't be passes as kernel argument so we check + // can't be passed as kernel argument so we check // allocas of structures with pointers. std::vector> BadAllocas; TypeToTypeMap TMap; diff --git a/sycl/include/CL/sycl/swizzles.def b/sycl/include/CL/sycl/swizzles.def index 0c25d4d394b5..4538fd0203a7 100644 --- a/sycl/include/CL/sycl/swizzles.def +++ b/sycl/include/CL/sycl/swizzles.def @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// -// included to types.hppp twice, once for vec<> and once for SwizzleOp<>. +// Included by types.hpp twice, once for vec<> and once for SwizzleOp<>. // TODO: exclude L-Value swizzle like vec.xxxx() #ifdef __SYCL_ACCESS diff --git a/sycl/test/CMakeLists.txt b/sycl/test/CMakeLists.txt index c8ab70562293..faafefd9bfa8 100644 --- a/sycl/test/CMakeLists.txt +++ b/sycl/test/CMakeLists.txt @@ -18,9 +18,9 @@ set(SYCL_TEST_DEPS FileCheck ${SYCLLibrary} ) -add_lit_testsuite(check-sycl "Running the Sycl regression tests" +add_lit_testsuite(check-sycl "Running the SYCL regression tests" ${CMAKE_CURRENT_BINARY_DIR} ARGS ${RT_TEST_ARGS} DEPENDS ${SYCL_TEST_DEPS} ) -set_target_properties(check-sycl PROPERTIES FOLDER "Sycl tests") +set_target_properties(check-sycl PROPERTIES FOLDER "SYCL tests")