[llvm][mlir][NFC] Fix typos in comments and test descriptions (#139688)

This patch fixes several typographical errors in comments and test
files:

1. Corrected "achive" to "archive" in archive-update.test. 
2. Fixed "achive" to "achieve" in a comment in
XeGPUSubgroupDistribute.cpp.
3. Corrected "achived" to "achieved" in a test note in
SimpleSIVNoValidityCheckFixedSize.ll.

These changes are non-functional and intended to improve readability and
documentation accuracy.

Signed-off-by: Kane Wang <wangqiang1@kylinos.cn>
Co-authored-by: Kane Wang <wangqiang1@kylinos.cn>
This commit is contained in:
Wang Qiang 2025-05-13 18:03:51 +08:00 committed by GitHub
parent 2278f5e65b
commit cece058191
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 5
; RUN: opt < %s -disable-output -passes="print<da>" 2>&1 | FileCheck %s
; Note: exact results can be achived even if
; Note: exact results can be achieved even if
; "-da-disable-delinearization-checks" is not used
;; #define N 1024

View File

@ -17,7 +17,7 @@ RUN: touch -m -t 200001010000 %t/tmp.older/evenlen || sleep 2.1
RUN: echo newer > %t/tmp.newer/evenlen
RUN: touch %t/tmp.newer/evenlen
Create an achive with the newest file
Create an archive with the newest file
RUN: llvm-ar rU %t/tmp.a %t/tmp.newer/evenlen
RUN: llvm-ar p %t/tmp.a | FileCheck --check-prefix=NEWER %s

View File

@ -835,7 +835,7 @@ LogicalResult LayoutAttrAssignment::run() {
/// TODO: Implement the layout conflict resolution. This must ensure mainly two
/// things:
/// 1) Is a given layout supported by the op? (need to query the target
/// HW info). Otherwise can we achive this layout using a layout conversion?
/// HW info). Otherwise can we achieve this layout using a layout conversion?
/// 2) Do all the operands have the required layout? If not, can it
/// be resolved using a layout conversion?
LogicalResult LayoutAttrAssignment::resolveConflicts() { return success(); }