[MLIR][docs] Fix typos

Fixed typos in SPIR-V to LLVM manual.

Reviewed By: georgemitenkov

Differential Revision: https://reviews.llvm.org/D88202
This commit is contained in:
Junda Su 2020-09-24 12:44:14 +03:00 committed by George Mitenkov
parent a90d72127a
commit 5ad06e4399
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ SPIR-V Dialect | LLVM Dialect
SPIR-V distinguishes between array type and run-time array type, the length of SPIR-V distinguishes between array type and run-time array type, the length of
which is not known at compile time. In LLVM, it is possible to index beyond the which is not known at compile time. In LLVM, it is possible to index beyond the
end of the array. Therfore, runtime array can be implemented as a zero length end of the array. Therefore, runtime array can be implemented as a zero length
array type. array type.
Moreover, SPIR-V supports the notion of array stride. Currently only natural Moreover, SPIR-V supports the notion of array stride. Currently only natural
@ -617,7 +617,7 @@ As well as:
### Branch ops ### Branch ops
`spv.Branch` and `spv.BranchConditional` are mapped to `llvm.br` and `spv.Branch` and `spv.BranchConditional` are mapped to `llvm.br` and
`llvm.cond_br`. Branch weigths for `spv.BranchConditional` are mapped to `llvm.cond_br`. Branch weights for `spv.BranchConditional` are mapped to
corresponding `branch_weights` attribute of `llvm.cond_br`. When translated to corresponding `branch_weights` attribute of `llvm.cond_br`. When translated to
proper LLVM, `branch_weights` are converted into LLVM metadata associated with proper LLVM, `branch_weights` are converted into LLVM metadata associated with
the conditional branch. the conditional branch.