Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFC] Fix a spelling mistake #6946

Merged
merged 1 commit into from
Oct 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ For API clients and LLVM developers.

:doc:`CodeGenerator`
The design and implementation of the LLVM code generator. Useful if you are
working on retargetting LLVM to a new architecture, designing a new codegen
working on retargeting LLVM to a new architecture, designing a new codegen
pass, or enhancing existing components.

:doc:`TableGen <TableGen/index>`
Expand Down
2 changes: 1 addition & 1 deletion tools/clang/lib/SPIRV/EmitVisitor.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class EmitTypeHandler {
uint32_t emitType(const SpirvType *);

// Emits OpDecorate (or OpMemberDecorate if memberIndex is non-zero)
// targetting the given type. Uses the given decoration kind and its
// targeting the given type. Uses the given decoration kind and its
// parameters.
void emitDecoration(uint32_t typeResultId, spv::Decoration,
llvm::ArrayRef<uint32_t> decorationParams,
Expand Down
2 changes: 1 addition & 1 deletion tools/clang/lib/SPIRV/SpirvEmitter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9014,7 +9014,7 @@ SpirvEmitter::processIntrinsicFirstbit(const CallExpr *callExpr,
astContext, argType, spirvOptions.enable16BitTypes);
if (bitwidth != 32) {
emitError("%0 is currently limited to 32-bit width components when "
"targetting SPIR-V",
"targeting SPIR-V",
srcLoc)
<< getFunctionOrOperatorName(callee, true);
return nullptr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
void main() {
uint64_t uint_1;
int64_t2 int_2;
// CHECK: error: firstbithigh is currently limited to 32-bit width components when targetting SPIR-V
// CHECK: error: firstbithigh is currently limited to 32-bit width components when targeting SPIR-V
int fbh = firstbithigh(uint_1);
// CHECK: error: firstbithigh is currently limited to 32-bit width components when targetting SPIR-V
// CHECK: error: firstbithigh is currently limited to 32-bit width components when targeting SPIR-V
int64_t2 fbh2 = firstbithigh(int_2);
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

void main() {
uint64_t uint_1;
// CHECK: error: firstbitlow is currently limited to 32-bit width components when targetting SPIR-V
// CHECK: error: firstbitlow is currently limited to 32-bit width components when targeting SPIR-V
int fbl = firstbitlow(uint_1);
}
Loading