[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits


@@ -109,16 +109,16 @@ CHECK-NEXT: 0x000e: [DW_RLE_offset_pair  ]: 
{{.*}}[0x[[RANGELIST_OFFSET_STAR
 CHECK-NEXT: 0x0011: [DW_RLE_end_of_list  ]
 
 CHECK: .debug_names contents:
-CHECK-NEX:T Name Index @ 0x0 {
-CHECK-NEX:T   Header {
-CHECK-NEX:T Length: 0x7C
-CHECK-NEX:T Format: DWARF32
-CHECK-NEX:T Version: 5
-CHECK-NEX:T CU count: 1
-CHECK-NEX:T Local TU count: 0
-CHECK-NEX:T Foreign TU count: 0
-CHECK-NEX:T Bucket count: 3
-CHECK-NEX:T Name count: 3
-CHECK-NEX:T Abbreviations table size: 0xD
-CHECK-NEX:T Augmentation: 'LLVM0700'
-CHECK-NEX:T   }
+CHECK-NEXT: Name Index @ 0x0 {

klensy wrote:

Looking at diff, this test never worked?

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits

https://github.com/klensy updated 
https://github.com/llvm/llvm-project/pull/91854

>From 73dc4487a8a13a13f628857334afb25dcf2aa1f4 Mon Sep 17 00:00:00 2001
From: klensy 
Date: Sat, 11 May 2024 14:26:52 +0300
Subject: [PATCH 1/2] llvm: fix few typos in filecheck tests

clang: fix few typos in filecheck tests

flang: fix few typos in filecheck tests

and few more
---
 .../checkers/modernize/redundant-void-arg.cpp |  4 +-
 .../Analysis/analyzer-checker-option-help.c   | 40 +--
 .../vtable-assume-load-address-space.cpp  |  2 +-
 clang/test/CodeGenCXX/vtable-assume-load.cpp  |  2 +-
 .../standard_conversion_sequences.hlsl|  6 +--
 flang/test/Lower/HLFIR/maxloc.f90 |  2 +-
 flang/test/Lower/HLFIR/maxval.f90 |  2 +-
 flang/test/Lower/HLFIR/minloc.f90 |  2 +-
 flang/test/Lower/HLFIR/minval.f90 |  2 +-
 flang/test/Lower/HLFIR/sum.f90|  2 +-
 flang/test/Lower/Intrinsics/adjustl.f90   |  2 +-
 flang/test/Lower/Intrinsics/adjustr.f90   |  2 +-
 flang/test/Lower/Intrinsics/fraction.f90  |  2 +-
 flang/test/Lower/polymorphic.f90  |  2 +-
 lld/test/ELF/linkerscript/orphan-phdrs2.test  |  2 +-
 lld/test/ELF/ttext-tdata-tbss.s   |  8 ++--
 .../AArch64/sve-shuffle-broadcast.ll  |  2 +-
 .../irreducible/diverged-entry-headers.ll |  2 +-
 .../CodeGen/AArch64/aarch64_tree_tests.ll |  4 +-
 llvm/test/CodeGen/AArch64/arm64_32-atomics.ll | 20 +-
 ...tliner-retaddr-sign-diff-scope-same-key.ll |  2 +-
 .../stp-opt-with-renaming-undef-assert.mir|  2 +-
 llvm/test/CodeGen/AMDGPU/addrspacecast.ll |  4 +-
 llvm/test/CodeGen/ARM/dsp-loop-indexing.ll|  2 +-
 .../test/CodeGen/Mips/optimizeAndPlusShift.ll | 18 -
 .../intel-usm-addrspaces.ll   |  2 +-
 llvm/test/CodeGen/SystemZ/prefetch-04.ll  |  2 +-
 llvm/test/CodeGen/X86/global-sections.ll  |  4 +-
 .../X86/stack-folding-fp-avx512fp16.ll|  2 +-
 .../CodeGen/X86/stack-frame-layout-remarks.ll |  2 +-
 llvm/test/CodeGen/X86/tailregccpic.ll |  4 +-
 .../InstrRef/livedebugvalues_illegal_locs.mir |  2 +-
 llvm/test/MC/ARM/coff-relocations.s   |  2 +-
 llvm/test/MC/Mips/expansion-jal-sym-pic.s | 12 +++---
 llvm/test/Transforms/Inline/AArch64/binop.ll  | 16 
 .../Transforms/Inline/update_invoke_prof.ll   |  2 +-
 .../InstCombine/lifetime-sanitizer.ll |  2 +-
 ...imal-epilog-vectorization-profitability.ll |  8 ++--
 .../first-order-recurrence-complex.ll |  2 +-
 llvm/test/Transforms/LoopVectorize/memdep.ll  |  2 +-
 ...wrapping-pointer-non-integral-addrspace.ll |  2 +-
 .../X86/good-prototype.ll |  2 +-
 .../PhaseOrdering/lifetime-sanitizer.ll   |  2 +-
 llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll |  2 +-
 .../test/tools/dsymutil/ARM/dwarf5-macho.test | 26 ++--
 llvm/test/tools/llvm-ar/replace-update.test   |  2 +-
 mlir/test/Dialect/GPU/outlining.mlir  |  2 +-
 47 files changed, 120 insertions(+), 120 deletions(-)

diff --git 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
index 89bf7f04f5576..6cf59f91016df 100644
--- 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
+++ 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
@@ -306,8 +306,8 @@ void gronk::bar(void) {
   // CHECK-MESSAGES: :[[@LINE-2]]:11: warning: {{.*}} in variable declaration
   // CHECK-FIXES:  {{^  }}void (gronk::*p5){{$}}
   // CHECK-FIXES-NEXT: {{^  \($}}
-  // CHECK-FIXES-NExT: {{^  $}}
-  // CHECK-FIXES-NExT: {{^  \);$}}
+  // CHECK-FIXES-NEXT: {{^  $}}
+  // CHECK-FIXES-NEXT: {{^  \);$}}
 }
 
 // intentionally not LLVM style to check preservation of whitespace
diff --git a/clang/test/Analysis/analyzer-checker-option-help.c 
b/clang/test/Analysis/analyzer-checker-option-help.c
index 5f95569e58498..5e7531314f3ba 100644
--- a/clang/test/Analysis/analyzer-checker-option-help.c
+++ b/clang/test/Analysis/analyzer-checker-option-help.c
@@ -35,26 +35,26 @@
 //
 // CHECK-STABLE:   cplusplus.Move:WarnOn
 // CHECK-STABLE-SAME:  (string) In non-aggressive mode, only warn
-// CHECK-STABLLE:  on use-after-move of local variables (or
-// CHECK-STABLLE:  local rvalue references) and of STL objects.
-// CHECK-STABLLE:  The former is possible because local variables
-// CHECK-STABLLE:  (or local rvalue references) are not tempting
-// CHECK-STABLLE:  their user to re-use the storage. The latter
-// CHECK-STABLLE:  is possible because STL objects are known
-// CHECK-STABLLE:  to end up in a valid but unspecified state
-// CHECK-STABLLE:  after the move and their state-reset methods
-// CHECK-STABLLE:  are also known, which allows us to predict

[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread Dhruv Chawla via cfe-commits

dc03-work wrote:

Ah, looks like broken tests are being uncovered now. Awesome.

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread Dhruv Chawla via cfe-commits


@@ -24,7 +24,7 @@ entry:
 }
 
 ; FIXME: Misspelled CHECK-LABEL

dc03-work wrote:

This FIXME can also be removed. Looking at the history of this file, looks like 
something like this was attempted before: 
https://github.com/llvm/llvm-project/commit/da4a966e1c3c0315512e1dfe5cd486722bcc0fbf,
 which was then reverted 
(https://github.com/llvm/llvm-project/commit/8505f34b2920f9d58ccf2f7c4fb3a9a6503536c8)
 because it broke buildbots. Interesting.

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread Dhruv Chawla via cfe-commits


@@ -5,7 +5,7 @@ target datalayout = "e-m:e-i64:64-i128:128-n32:64-S128"
 target triple = "arm64--linux-gnu"
 
 ; FIXME: Misspelled CHECK-LABEL

dc03-work wrote:

The FIXME can be removed.

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread Dhruv Chawla via cfe-commits

https://github.com/dc03-work commented:

I am surprised that these typos even exist within the tests (and don't seem to 
be causing issues somehow).

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread Dhruv Chawla via cfe-commits

https://github.com/dc03-work edited 
https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits

klensy wrote:

Oops, sorry for mega ping.

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits

llvmbot wrote:




@llvm/pr-subscribers-clang-tidy

Author: klensy (klensy)


Changes

Similar to https://github.com/rust-lang/rust/pull/125007

This fixes few filecheck annotation typos across llvm repo.

i **did not** checked if it passes test after that, so some help appreciated.

---

Patch is 40.09 KiB, truncated to 20.00 KiB below, full version: 
https://github.com/llvm/llvm-project/pull/91854.diff


47 Files Affected:

- (modified) 
clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp 
(+2-2) 
- (modified) clang/test/Analysis/analyzer-checker-option-help.c (+20-20) 
- (modified) clang/test/CodeGenCXX/vtable-assume-load-address-space.cpp (+1-1) 
- (modified) clang/test/CodeGenCXX/vtable-assume-load.cpp (+1-1) 
- (modified) clang/test/SemaHLSL/standard_conversion_sequences.hlsl (+3-3) 
- (modified) flang/test/Lower/HLFIR/maxloc.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/maxval.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/minloc.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/minval.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/sum.f90 (+1-1) 
- (modified) flang/test/Lower/Intrinsics/adjustl.f90 (+1-1) 
- (modified) flang/test/Lower/Intrinsics/adjustr.f90 (+1-1) 
- (modified) flang/test/Lower/Intrinsics/fraction.f90 (+1-1) 
- (modified) flang/test/Lower/polymorphic.f90 (+1-1) 
- (modified) lld/test/ELF/linkerscript/orphan-phdrs2.test (+1-1) 
- (modified) lld/test/ELF/ttext-tdata-tbss.s (+4-4) 
- (modified) llvm/test/Analysis/CostModel/AArch64/sve-shuffle-broadcast.ll 
(+1-1) 
- (modified) 
llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll
 (+1-1) 
- (modified) llvm/test/CodeGen/AArch64/aarch64_tree_tests.ll (+2-2) 
- (modified) llvm/test/CodeGen/AArch64/arm64_32-atomics.ll (+10-10) 
- (modified) 
llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll 
(+1-1) 
- (modified) llvm/test/CodeGen/AArch64/stp-opt-with-renaming-undef-assert.mir 
(+1-1) 
- (modified) llvm/test/CodeGen/AMDGPU/addrspacecast.ll (+2-2) 
- (modified) llvm/test/CodeGen/ARM/dsp-loop-indexing.ll (+1-1) 
- (modified) llvm/test/CodeGen/Mips/optimizeAndPlusShift.ll (+9-9) 
- (modified) 
llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_usm_storage_classes/intel-usm-addrspaces.ll
 (+1-1) 
- (modified) llvm/test/CodeGen/SystemZ/prefetch-04.ll (+1-1) 
- (modified) llvm/test/CodeGen/X86/global-sections.ll (+2-2) 
- (modified) llvm/test/CodeGen/X86/stack-folding-fp-avx512fp16.ll (+1-1) 
- (modified) llvm/test/CodeGen/X86/stack-frame-layout-remarks.ll (+1-1) 
- (modified) llvm/test/CodeGen/X86/tailregccpic.ll (+2-2) 
- (modified) llvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_illegal_locs.mir 
(+1-1) 
- (modified) llvm/test/MC/ARM/coff-relocations.s (+1-1) 
- (modified) llvm/test/MC/Mips/expansion-jal-sym-pic.s (+6-6) 
- (modified) llvm/test/Transforms/Inline/AArch64/binop.ll (+8-8) 
- (modified) llvm/test/Transforms/Inline/update_invoke_prof.ll (+1-1) 
- (modified) llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll (+1-1) 
- (modified) 
llvm/test/Transforms/LoopVectorize/PowerPC/optimal-epilog-vectorization-profitability.ll
 (+4-4) 
- (modified) 
llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll (+1-1) 
- (modified) llvm/test/Transforms/LoopVectorize/memdep.ll (+1-1) 
- (modified) 
llvm/test/Transforms/LoopVersioning/wrapping-pointer-non-integral-addrspace.ll 
(+1-1) 
- (modified) llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll 
(+1-1) 
- (modified) llvm/test/Transforms/PhaseOrdering/lifetime-sanitizer.ll (+1-1) 
- (modified) llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll (+1-1) 
- (modified) llvm/test/tools/dsymutil/ARM/dwarf5-macho.test (+13-13) 
- (modified) llvm/test/tools/llvm-ar/replace-update.test (+1-1) 
- (modified) mlir/test/Dialect/GPU/outlining.mlir (+1-1) 


``diff
diff --git 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
index 89bf7f04f5576..6cf59f91016df 100644
--- 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
+++ 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
@@ -306,8 +306,8 @@ void gronk::bar(void) {
   // CHECK-MESSAGES: :[[@LINE-2]]:11: warning: {{.*}} in variable declaration
   // CHECK-FIXES:  {{^  }}void (gronk::*p5){{$}}
   // CHECK-FIXES-NEXT: {{^  \($}}
-  // CHECK-FIXES-NExT: {{^  $}}
-  // CHECK-FIXES-NExT: {{^  \);$}}
+  // CHECK-FIXES-NEXT: {{^  $}}
+  // CHECK-FIXES-NEXT: {{^  \);$}}
 }
 
 // intentionally not LLVM style to check preservation of whitespace
diff --git a/clang/test/Analysis/analyzer-checker-option-help.c 
b/clang/test/Analysis/analyzer-checker-option-help.c
index 5f95569e58498..5e7531314f3ba 100644
--- a/clang/test/Analysis/analyzer-checker-option-help.c
+++ b/clang/test/Analysis/analyzer-checker-option-help.c
@@ -35,26 +35,26 @@
 //
 // CHECK-STABLE:   

[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits

llvmbot wrote:



@llvm/pr-subscribers-backend-x86

@llvm/pr-subscribers-clang-tools-extra

Author: klensy (klensy)


Changes

Similar to https://github.com/rust-lang/rust/pull/125007

This fixes few filecheck annotation typos across llvm repo.

i **did not** checked if it passes test after that, so some help appreciated.

---

Patch is 40.09 KiB, truncated to 20.00 KiB below, full version: 
https://github.com/llvm/llvm-project/pull/91854.diff


47 Files Affected:

- (modified) 
clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp 
(+2-2) 
- (modified) clang/test/Analysis/analyzer-checker-option-help.c (+20-20) 
- (modified) clang/test/CodeGenCXX/vtable-assume-load-address-space.cpp (+1-1) 
- (modified) clang/test/CodeGenCXX/vtable-assume-load.cpp (+1-1) 
- (modified) clang/test/SemaHLSL/standard_conversion_sequences.hlsl (+3-3) 
- (modified) flang/test/Lower/HLFIR/maxloc.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/maxval.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/minloc.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/minval.f90 (+1-1) 
- (modified) flang/test/Lower/HLFIR/sum.f90 (+1-1) 
- (modified) flang/test/Lower/Intrinsics/adjustl.f90 (+1-1) 
- (modified) flang/test/Lower/Intrinsics/adjustr.f90 (+1-1) 
- (modified) flang/test/Lower/Intrinsics/fraction.f90 (+1-1) 
- (modified) flang/test/Lower/polymorphic.f90 (+1-1) 
- (modified) lld/test/ELF/linkerscript/orphan-phdrs2.test (+1-1) 
- (modified) lld/test/ELF/ttext-tdata-tbss.s (+4-4) 
- (modified) llvm/test/Analysis/CostModel/AArch64/sve-shuffle-broadcast.ll 
(+1-1) 
- (modified) 
llvm/test/Analysis/UniformityAnalysis/AMDGPU/irreducible/diverged-entry-headers.ll
 (+1-1) 
- (modified) llvm/test/CodeGen/AArch64/aarch64_tree_tests.ll (+2-2) 
- (modified) llvm/test/CodeGen/AArch64/arm64_32-atomics.ll (+10-10) 
- (modified) 
llvm/test/CodeGen/AArch64/machine-outliner-retaddr-sign-diff-scope-same-key.ll 
(+1-1) 
- (modified) llvm/test/CodeGen/AArch64/stp-opt-with-renaming-undef-assert.mir 
(+1-1) 
- (modified) llvm/test/CodeGen/AMDGPU/addrspacecast.ll (+2-2) 
- (modified) llvm/test/CodeGen/ARM/dsp-loop-indexing.ll (+1-1) 
- (modified) llvm/test/CodeGen/Mips/optimizeAndPlusShift.ll (+9-9) 
- (modified) 
llvm/test/CodeGen/SPIRV/extensions/SPV_INTEL_usm_storage_classes/intel-usm-addrspaces.ll
 (+1-1) 
- (modified) llvm/test/CodeGen/SystemZ/prefetch-04.ll (+1-1) 
- (modified) llvm/test/CodeGen/X86/global-sections.ll (+2-2) 
- (modified) llvm/test/CodeGen/X86/stack-folding-fp-avx512fp16.ll (+1-1) 
- (modified) llvm/test/CodeGen/X86/stack-frame-layout-remarks.ll (+1-1) 
- (modified) llvm/test/CodeGen/X86/tailregccpic.ll (+2-2) 
- (modified) llvm/test/DebugInfo/MIR/InstrRef/livedebugvalues_illegal_locs.mir 
(+1-1) 
- (modified) llvm/test/MC/ARM/coff-relocations.s (+1-1) 
- (modified) llvm/test/MC/Mips/expansion-jal-sym-pic.s (+6-6) 
- (modified) llvm/test/Transforms/Inline/AArch64/binop.ll (+8-8) 
- (modified) llvm/test/Transforms/Inline/update_invoke_prof.ll (+1-1) 
- (modified) llvm/test/Transforms/InstCombine/lifetime-sanitizer.ll (+1-1) 
- (modified) 
llvm/test/Transforms/LoopVectorize/PowerPC/optimal-epilog-vectorization-profitability.ll
 (+4-4) 
- (modified) 
llvm/test/Transforms/LoopVectorize/first-order-recurrence-complex.ll (+1-1) 
- (modified) llvm/test/Transforms/LoopVectorize/memdep.ll (+1-1) 
- (modified) 
llvm/test/Transforms/LoopVersioning/wrapping-pointer-non-integral-addrspace.ll 
(+1-1) 
- (modified) llvm/test/Transforms/PartiallyInlineLibCalls/X86/good-prototype.ll 
(+1-1) 
- (modified) llvm/test/Transforms/PhaseOrdering/lifetime-sanitizer.ll (+1-1) 
- (modified) llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll (+1-1) 
- (modified) llvm/test/tools/dsymutil/ARM/dwarf5-macho.test (+13-13) 
- (modified) llvm/test/tools/llvm-ar/replace-update.test (+1-1) 
- (modified) mlir/test/Dialect/GPU/outlining.mlir (+1-1) 


``diff
diff --git 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
index 89bf7f04f5576..6cf59f91016df 100644
--- 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
+++ 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
@@ -306,8 +306,8 @@ void gronk::bar(void) {
   // CHECK-MESSAGES: :[[@LINE-2]]:11: warning: {{.*}} in variable declaration
   // CHECK-FIXES:  {{^  }}void (gronk::*p5){{$}}
   // CHECK-FIXES-NEXT: {{^  \($}}
-  // CHECK-FIXES-NExT: {{^  $}}
-  // CHECK-FIXES-NExT: {{^  \);$}}
+  // CHECK-FIXES-NEXT: {{^  $}}
+  // CHECK-FIXES-NEXT: {{^  \);$}}
 }
 
 // intentionally not LLVM style to check preservation of whitespace
diff --git a/clang/test/Analysis/analyzer-checker-option-help.c 
b/clang/test/Analysis/analyzer-checker-option-help.c
index 5f95569e58498..5e7531314f3ba 100644
--- a/clang/test/Analysis/analyzer-checker-option-help.c
+++ b/clang/test/Analysis/analyzer-checker-option-help.c
@@ -35,26 

[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits

github-actions[bot] wrote:



Thank you for submitting a Pull Request (PR) to the LLVM Project!

This PR will be automatically labeled and the relevant teams will be
notified.

If you wish to, you can add reviewers by using the "Reviewers" section on this 
page.

If this is not working for you, it is probably because you do not have write
permissions for the repository. In which case you can instead tag reviewers by
name in a comment by using `@` followed by their GitHub username.

If you have received no comments on your PR for a week, you can request a review
by "ping"ing the PR by adding a comment “Ping”. The common courtesy "ping" rate
is once a week. Please remember that you are asking for valuable time from 
other developers.

If you have further questions, they may be answered by the [LLVM GitHub User 
Guide](https://llvm.org/docs/GitHub.html).

You can also ask questions in a comment on this PR, on the [LLVM 
Discord](https://discord.com/invite/xS7Z362) or on the 
[forums](https://discourse.llvm.org/).

https://github.com/llvm/llvm-project/pull/91854
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


[clang] [clang-tools-extra] [flang] [lld] [llvm] [mlir] [test]: fix filecheck annotation typos (PR #91854)

2024-05-11 Thread via cfe-commits

https://github.com/klensy created 
https://github.com/llvm/llvm-project/pull/91854

Similar to https://github.com/rust-lang/rust/pull/125007

This fixes few filecheck annotation typos across llvm repo.

i **did not** checked if it passes test after that, so some help appreciated.

>From 73dc4487a8a13a13f628857334afb25dcf2aa1f4 Mon Sep 17 00:00:00 2001
From: klensy 
Date: Sat, 11 May 2024 14:26:52 +0300
Subject: [PATCH] llvm: fix few typos in filecheck tests

clang: fix few typos in filecheck tests

flang: fix few typos in filecheck tests

and few more
---
 .../checkers/modernize/redundant-void-arg.cpp |  4 +-
 .../Analysis/analyzer-checker-option-help.c   | 40 +--
 .../vtable-assume-load-address-space.cpp  |  2 +-
 clang/test/CodeGenCXX/vtable-assume-load.cpp  |  2 +-
 .../standard_conversion_sequences.hlsl|  6 +--
 flang/test/Lower/HLFIR/maxloc.f90 |  2 +-
 flang/test/Lower/HLFIR/maxval.f90 |  2 +-
 flang/test/Lower/HLFIR/minloc.f90 |  2 +-
 flang/test/Lower/HLFIR/minval.f90 |  2 +-
 flang/test/Lower/HLFIR/sum.f90|  2 +-
 flang/test/Lower/Intrinsics/adjustl.f90   |  2 +-
 flang/test/Lower/Intrinsics/adjustr.f90   |  2 +-
 flang/test/Lower/Intrinsics/fraction.f90  |  2 +-
 flang/test/Lower/polymorphic.f90  |  2 +-
 lld/test/ELF/linkerscript/orphan-phdrs2.test  |  2 +-
 lld/test/ELF/ttext-tdata-tbss.s   |  8 ++--
 .../AArch64/sve-shuffle-broadcast.ll  |  2 +-
 .../irreducible/diverged-entry-headers.ll |  2 +-
 .../CodeGen/AArch64/aarch64_tree_tests.ll |  4 +-
 llvm/test/CodeGen/AArch64/arm64_32-atomics.ll | 20 +-
 ...tliner-retaddr-sign-diff-scope-same-key.ll |  2 +-
 .../stp-opt-with-renaming-undef-assert.mir|  2 +-
 llvm/test/CodeGen/AMDGPU/addrspacecast.ll |  4 +-
 llvm/test/CodeGen/ARM/dsp-loop-indexing.ll|  2 +-
 .../test/CodeGen/Mips/optimizeAndPlusShift.ll | 18 -
 .../intel-usm-addrspaces.ll   |  2 +-
 llvm/test/CodeGen/SystemZ/prefetch-04.ll  |  2 +-
 llvm/test/CodeGen/X86/global-sections.ll  |  4 +-
 .../X86/stack-folding-fp-avx512fp16.ll|  2 +-
 .../CodeGen/X86/stack-frame-layout-remarks.ll |  2 +-
 llvm/test/CodeGen/X86/tailregccpic.ll |  4 +-
 .../InstrRef/livedebugvalues_illegal_locs.mir |  2 +-
 llvm/test/MC/ARM/coff-relocations.s   |  2 +-
 llvm/test/MC/Mips/expansion-jal-sym-pic.s | 12 +++---
 llvm/test/Transforms/Inline/AArch64/binop.ll  | 16 
 .../Transforms/Inline/update_invoke_prof.ll   |  2 +-
 .../InstCombine/lifetime-sanitizer.ll |  2 +-
 ...imal-epilog-vectorization-profitability.ll |  8 ++--
 .../first-order-recurrence-complex.ll |  2 +-
 llvm/test/Transforms/LoopVectorize/memdep.ll  |  2 +-
 ...wrapping-pointer-non-integral-addrspace.ll |  2 +-
 .../X86/good-prototype.ll |  2 +-
 .../PhaseOrdering/lifetime-sanitizer.ll   |  2 +-
 llvm/test/Verifier/AMDGPU/intrinsic-immarg.ll |  2 +-
 .../test/tools/dsymutil/ARM/dwarf5-macho.test | 26 ++--
 llvm/test/tools/llvm-ar/replace-update.test   |  2 +-
 mlir/test/Dialect/GPU/outlining.mlir  |  2 +-
 47 files changed, 120 insertions(+), 120 deletions(-)

diff --git 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
index 89bf7f04f5576..6cf59f91016df 100644
--- 
a/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
+++ 
b/clang-tools-extra/test/clang-tidy/checkers/modernize/redundant-void-arg.cpp
@@ -306,8 +306,8 @@ void gronk::bar(void) {
   // CHECK-MESSAGES: :[[@LINE-2]]:11: warning: {{.*}} in variable declaration
   // CHECK-FIXES:  {{^  }}void (gronk::*p5){{$}}
   // CHECK-FIXES-NEXT: {{^  \($}}
-  // CHECK-FIXES-NExT: {{^  $}}
-  // CHECK-FIXES-NExT: {{^  \);$}}
+  // CHECK-FIXES-NEXT: {{^  $}}
+  // CHECK-FIXES-NEXT: {{^  \);$}}
 }
 
 // intentionally not LLVM style to check preservation of whitespace
diff --git a/clang/test/Analysis/analyzer-checker-option-help.c 
b/clang/test/Analysis/analyzer-checker-option-help.c
index 5f95569e58498..5e7531314f3ba 100644
--- a/clang/test/Analysis/analyzer-checker-option-help.c
+++ b/clang/test/Analysis/analyzer-checker-option-help.c
@@ -35,26 +35,26 @@
 //
 // CHECK-STABLE:   cplusplus.Move:WarnOn
 // CHECK-STABLE-SAME:  (string) In non-aggressive mode, only warn
-// CHECK-STABLLE:  on use-after-move of local variables (or
-// CHECK-STABLLE:  local rvalue references) and of STL objects.
-// CHECK-STABLLE:  The former is possible because local variables
-// CHECK-STABLLE:  (or local rvalue references) are not tempting
-// CHECK-STABLLE:  their user to re-use the storage. The latter
-// CHECK-STABLLE:  is possible because STL objects are known
-// CHECK-STABLLE:  to