Skip to content

Commit

Permalink
Fix typo "x84_64" (#68419)
Browse files Browse the repository at this point in the history
  • Loading branch information
CaseyCarter committed Oct 6, 2023
1 parent 9d11ec7 commit 07f7f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clang/test/Driver/cuda-detect.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
// RUN: --sysroot=%S/Inputs/CUDA-nolibdevice --cuda-path-ignore-env 2>&1 | FileCheck %s -check-prefix NOCUDA
// RUN: %clang -v --target=x86_64-unknown-linux \
// RUN: --sysroot=%S/Inputs/CUDA-nolibdevice --cuda-path-ignore-env 2>&1 | FileCheck %s -check-prefix NOCUDA
// RUN: %clang -v --target=x84_64-apple-macosx \
// RUN: %clang -v --target=x86_64-apple-macosx \
// RUN: --sysroot=%S/Inputs/CUDA-nolibdevice --cuda-path-ignore-env 2>&1 | FileCheck %s -check-prefix NOCUDA

// ... unless the user doesn't need libdevice
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/X86/X86RegisterInfo.td
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ def GR64_NOREX_NOSP : RegisterClass<"X86", [i64], 64,
(and GR64_NOREX, GR64_NOSP)>;

// Register classes used for ABIs that use 32-bit address accesses,
// while using the whole x84_64 ISA.
// while using the whole x86_64 ISA.

// In such cases, it is fine to use RIP as we are sure the 32 high
// bits are not set. We do not need variants for NOSP as RIP is not
Expand Down

0 comments on commit 07f7f1c

Please sign in to comment.