Skip to content

Commit 9df1e62

Browse files
committed
Fix typos.
1 parent 6ac5db0 commit 9df1e62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/test/CodeGenHipStdPar/rdc-does-not-enable-hipstdpar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88

99
// RUN: %clang -### --hipstdpar --offload-arch=gfx906 %s -nogpulib -nogpuinc -fgpu-rdc \
1010
// RUN: 2>&1 | FileCheck -check-prefix=RDC %s
11-
// RDC-NOT: {{"-mllvm" "-amdgpu-enable-hipstdpar".*}}
11+
// RDC-NOT: {{"-mllvm" "-amdgpu-enable-hipstdpar".*}}

llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ void AMDGPUTargetMachine::registerPassBuilderCallbacks(PassBuilder &PB) {
886886

887887
PB.registerFullLinkTimeOptimizationLastEPCallback(
888888
[this](ModulePassManager &PM, OptimizationLevel Level) {
889-
// When we are using -fgpu-rdc, we can onky run accelerator code
889+
// When we are using -fgpu-rdc, we can only run accelerator code
890890
// selection after linking to prevent, otherwise we end up removing
891891
// potentially reachable symbols that were exported as external in other
892892
// modules.

0 commit comments

Comments
 (0)