File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -632,7 +632,7 @@ class ParsedAttr final
632
632
// / a Spelling enumeration, the value UINT_MAX is returned.
633
633
unsigned getSemanticSpelling () const ;
634
634
635
- // / If this is an OpenCL address space attribute returns its representation
635
+ // / If this is an OpenCL address space attribute, returns its representation
636
636
// / in LangAS, otherwise returns default address space.
637
637
LangAS asOpenCLLangAS () const {
638
638
switch (getParsedKind ()) {
@@ -655,7 +655,7 @@ class ParsedAttr final
655
655
}
656
656
}
657
657
658
- // / If this is an OpenCL address space attribute returns its SYCL
658
+ // / If this is an OpenCL address space attribute, returns its SYCL
659
659
// / representation in LangAS, otherwise returns default address space.
660
660
LangAS asSYCLLangAS () const {
661
661
switch (getKind ()) {
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ class LLVM_LIBRARY_VISIBILITY SPIRTargetInfo : public TargetInfo {
137
137
// to be pointing to the generic address space. See section 5.9.3 of
138
138
// SYCL 2020 specification.
139
139
// Currently, there is no way of representing SYCL's default address space
140
- // language semantic along with the semantics of embedded C's default
140
+ // language semantics along with the semantics of embedded C's default
141
141
// address space in the same address space map. Hence the map needs to be
142
142
// reset to allow mapping to the desired value of 'Default' entry for SYCL.
143
143
setAddressSpaceMap (/* DefaultIsGeneric=*/ Opts.SYCLIsDevice );
You can’t perform that action at this time.
0 commit comments