Skip to content

Commit 5687526

Browse files
Naghasanmdtoguchi
andcommitted
Update clang/lib/Driver/ToolChains/Clang.cpp
Co-authored-by: mdtoguchi <[email protected]>
1 parent 49c23e3 commit 5687526

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Driver/ToolChains/Clang.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8666,8 +8666,8 @@ void OffloadDeps::constructJob(Compilation &C, const JobAction &JA,
86668666
if ((Dep.DependentOffloadKind == Action::OFK_HIP ||
86678667
Dep.DependentOffloadKind == Action::OFK_SYCL) &&
86688668
!Dep.DependentBoundArch.empty()) {
8669-
// If OffloadArch is present it can only appear as the 6th hypen
8670-
// sepearated field of Bundle Entry ID. So, pad required number of
8669+
// If OffloadArch is present it can only appear as the 6th hyphen
8670+
// separated field of Bundle Entry ID. So, pad required number of
86718671
// hyphens in Triple.
86728672
for (int i = 4 - StringRef(NormalizedTriple).count("-"); i > 0; i--)
86738673
Targets += '-';

0 commit comments

Comments
 (0)