Skip to content

Commit cece058

Browse files
authored
[llvm][mlir][NFC] Fix typos in comments and test descriptions (llvm#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 <[email protected]> Co-authored-by: Kane Wang <[email protected]>
1 parent 2278f5e commit cece058

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

llvm/test/Analysis/DependenceAnalysis/SimpleSIVNoValidityCheckFixedSize.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
; NOTE: Assertions have been autogenerated by utils/update_analyze_test_checks.py UTC_ARGS: --version 5
22
; RUN: opt < %s -disable-output -passes="print<da>" 2>&1 | FileCheck %s
33

4-
; Note: exact results can be achived even if
4+
; Note: exact results can be achieved even if
55
; "-da-disable-delinearization-checks" is not used
66

77
;; #define N 1024

llvm/test/Object/archive-update.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN: touch -m -t 200001010000 %t/tmp.older/evenlen || sleep 2.1
1717
RUN: echo newer > %t/tmp.newer/evenlen
1818
RUN: touch %t/tmp.newer/evenlen
1919

20-
Create an achive with the newest file
20+
Create an archive with the newest file
2121
RUN: llvm-ar rU %t/tmp.a %t/tmp.newer/evenlen
2222
RUN: llvm-ar p %t/tmp.a | FileCheck --check-prefix=NEWER %s
2323

mlir/lib/Dialect/XeGPU/Transforms/XeGPUSubgroupDistribute.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ LogicalResult LayoutAttrAssignment::run() {
835835
/// TODO: Implement the layout conflict resolution. This must ensure mainly two
836836
/// things:
837837
/// 1) Is a given layout supported by the op? (need to query the target
838-
/// HW info). Otherwise can we achive this layout using a layout conversion?
838+
/// HW info). Otherwise can we achieve this layout using a layout conversion?
839839
/// 2) Do all the operands have the required layout? If not, can it
840840
/// be resolved using a layout conversion?
841841
LogicalResult LayoutAttrAssignment::resolveConflicts() { return success(); }

0 commit comments

Comments
 (0)