[NFC] Correct typo interger to integer

This commit is contained in:
Shao-Ce SUN 2022-02-17 21:13:00 +08:00
parent d955ca4937
commit 21ac474392
6 changed files with 6 additions and 6 deletions

View File

@ -87,7 +87,7 @@ static RT doLookup(std::function<RT(KindTy)> def,
return def(kind);
}
// do a lookup for INTERGER, LOGICAL, or CHARACTER
// do a lookup for integer, LOGICAL, or CHARACTER
template <char KEY, typename MAP>
static Bitsize getIntegerLikeBitsize(KindTy kind, const MAP &map) {
return doLookup<Bitsize, KEY>(defaultScalingKind, map, kind);

View File

@ -77,7 +77,7 @@ namespace llvm {
FCTIDUZ,
FCTIWUZ,
/// Floating-point-to-interger conversion instructions
/// Floating-point-to-integer conversion instructions
FP_TO_UINT_IN_VSR,
FP_TO_SINT_IN_VSR,

View File

@ -1,7 +1,7 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; Regression test from https://bugs.llvm.org/show_bug.cgi?id=39168
; Based on code from `compiler-rt/lib/builtins/multc3.c`
; On plaforms where fp128 lowers to an interger type (soft-fp) we
; On plaforms where fp128 lowers to an integer type (soft-fp) we
; shouldn't be calling isFAbsFree() on the legalized type.
; RUN: opt -slp-vectorizer -slp-threshold=-10 -S %s | FileCheck %s

View File

@ -47,7 +47,7 @@ def sparse_tensor_to_coo_tensor(support_lib, sparse, dtype):
Returns:
A tuple that contains the following values:
rank: An integer for the rank of the tensor.
nse: An interger for the number of non-zero values in the tensor.
nse: An integer for the number of non-zero values in the tensor.
shape: A 1D numpy array of integers, for the shape of the tensor.
values: A 1D numpy array, for the non-zero values in the tensor.
indices: A 2D numpy array of integers, representing the indices for the

View File

@ -379,7 +379,7 @@ def get_index_vars(n: int) -> List[IndexVar]:
This routine is defined by the TACO API.
Args:
n: An interger representing the number of IndexVar to get.
n: An integer representing the number of IndexVar to get.
Returns:
A list of IndexVar.

View File

@ -83,7 +83,7 @@ def sparse_tensor_to_coo_tensor(
A tuple that contains the following values for the COO-flavored format
tensor:
rank: An integer for the rank of the tensor.
nse: An interger for the number of non-zero values in the tensor.
nse: An integer for the number of non-zero values in the tensor.
shape: A 1D numpy array of integers, for the shape of the tensor.
values: A 1D numpy array, for the non-zero values in the tensor.
indices: A 2D numpy array of integers, representing the indices for the