Skip to content

Commit 5f4c89e

Browse files
authored
Fix unsigned typos (#76670)
1 parent c70d387 commit 5f4c89e

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

clang/test/Analysis/additive-op-on-sym-int-expr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void testMin(int i, long l) {
5959
clang_analyzer_dumpL(l - intMin); // expected-warning-re {{(reg_${{[0-9]+}}<long l>) + 2147483648 }} instead of - -2147483648
6060
}
6161

62-
void changingToUnsinged(unsigned u, int i) {
62+
void changingToUnsigned(unsigned u, int i) {
6363
unsigned c = u + (unsigned)i;
6464
unsigned d = u - (unsigned)i;
6565
if (i == -1) {
@@ -89,7 +89,7 @@ void extendingToSigned(long l, int i) {
8989
}
9090
}
9191

92-
void extendingToUnigned(unsigned long ul, int i) {
92+
void extendingToUnsigned(unsigned long ul, int i) {
9393
unsigned long c = ul + (unsigned long)i;
9494
unsigned long d = ul - (unsigned long)i;
9595
if (i == -1) {

llvm/lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTypeUtilities.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ inline bool isRefType(wasm::ValType Type) {
4646

4747
// Convert ValType or a list/signature of ValTypes to a string.
4848

49-
// Convert an unsinged integer, which can be among wasm::ValType enum, to its
49+
// Convert an unsigned integer, which can be among wasm::ValType enum, to its
5050
// type name string. If the input is not within wasm::ValType, returns
5151
// "invalid_type".
5252
const char *anyTypeToString(unsigned Type);

llvm/test/MC/AArch64/neon-diagnostics.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4877,7 +4877,7 @@
48774877
// CHECK-ERROR: ^
48784878

48794879
//----------------------------------------------------------------------
4880-
// Scalar Unigned Rounding Shift Right (Immediate)
4880+
// Scalar Unsigned Rounding Shift Right (Immediate)
48814881
//----------------------------------------------------------------------
48824882

48834883
urshr d20, d23, #99

llvm/test/MC/AArch64/neon-scalar-shift-imm.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
// CHECK: srshr d19, d18, #7 // encoding: [0x53,0x26,0x79,0x5f]
2525

2626
//----------------------------------------------------------------------
27-
// Scalar Unigned Rounding Shift Right (Immediate)
27+
// Scalar Unsigned Rounding Shift Right (Immediate)
2828
//----------------------------------------------------------------------
2929
urshr d20, d23, #31
3030

llvm/test/MC/Disassembler/AArch64/neon-instructions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1829,7 +1829,7 @@
18291829
0x53,0x26,0x79,0x5f
18301830

18311831
#----------------------------------------------------------------------
1832-
# Scalar Unigned Rounding Shift Right (Immediate)
1832+
# Scalar Unsigned Rounding Shift Right (Immediate)
18331833
#----------------------------------------------------------------------
18341834
# CHECK: urshr d20, d23, #31
18351835
0xf4,0x26,0x61,0x7f

mlir/docs/Dialects/Linalg/OpDSL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ The following examples illustrate the lowering of signed and unsigned functions:
291291
* cast_unsigned(I32 -> I64) -> `arith.ExtUIOp`
292292
* cast_unsigned(F32 -> I32) -> `arith.FPToUIOp`
293293
* max_signed -> `arith.MaxSIOp`
294-
* max_unsinged -> `arith.MaxUIOp`
294+
* max_unsigned -> `arith.MaxUIOp`
295295

296296
Not all functions are applicable for all numeric types, and on mismatch, op
297297
verification will fail.

mlir/python/mlir/dialects/linalg/opdsl/lang/comprehension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ class BinaryFn:
318318
319319
Examples:
320320
- max -> `arith.MaxSIOp`
321-
- max_unsinged -> `arith.MaxUIOp`
321+
- max_unsigned -> `arith.MaxUIOp`
322322
"""
323323

324324
add = BinaryFnType("add")

0 commit comments

Comments
 (0)