[PATCH] D94161: [llvm][NFC] Disallow all warnings in TypeSize tests

Peter Waller via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 6 09:17:40 PST 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG3e357ecd44a6: [llvm][NFC] Disallow all warnings in TypeSize tests (authored by peterwaller-arm).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94161/new/

https://reviews.llvm.org/D94161

Files:
  llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll
  llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll
  llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
  llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll
  llvm/test/CodeGen/AArch64/sve-redundant-store.ll
  llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll


Index: llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
===================================================================
--- llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
+++ llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll
@@ -9,7 +9,7 @@
 ; TypeSize error.
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; WARN-NOT: warning: {{.*}}TypeSize is not scalable
+; WARN-NOT: warning:
 
 ; #include <arm_sve.h>
 ;
Index: llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
===================================================================
--- llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
+++ llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll
@@ -13,7 +13,7 @@
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions
 ; on how to resolve it.
-; WARN-NOT: warning: {{.*}}TypeSize is not scalable
+; WARN-NOT: warning:
 
 declare void @do_something(<vscale x 4 x i32> %x)
 
Index: llvm/test/CodeGen/AArch64/sve-redundant-store.ll
===================================================================
--- llvm/test/CodeGen/AArch64/sve-redundant-store.ll
+++ llvm/test/CodeGen/AArch64/sve-redundant-store.ll
@@ -3,7 +3,7 @@
 ; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; WARN-NOT: warning: {{.*}}TypeSize is not scalable
+; WARN-NOT: warning:
 
 ; #include <arm_sve.h>
 ; #include <stdint.h>
Index: llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll
===================================================================
--- llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll
+++ llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll
@@ -5,7 +5,7 @@
 ; node linked to a scalable store.
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; CHECK-NOT: warning: {{.*}}TypeSize is not scalable
+; CHECK-NOT: warning:
 
 declare void @llvm.lifetime.start.p0i8(i64, i8* nocapture)
 declare void @llvm.lifetime.end.p0i8(i64, i8* nocapture)
Index: llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
===================================================================
--- llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
+++ llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll
@@ -7,7 +7,7 @@
 ; this function was previously unaware of scalable types.
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; CHECK-NOT: warning: {{.*}}TypeSize is not scalable
+; CHECK-NOT: warning:
 
 define void @runtime_pointer_checking_insert_typesize(<vscale x 4 x i32>* %a,
                                                       <vscale x 4 x i32>* %b) {
Index: llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll
===================================================================
--- llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll
+++ llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll
@@ -6,7 +6,7 @@
 ; warning in the llvm::getGEPInductionOperand function.
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; WARN-NOT: warning: {{.*}}TypeSize is not scalable
+; WARN-NOT: warning:
 
 define void @get_gep_induction_operand_typesize_warning(i64 %n, <vscale x 4 x i32>* %a) {
 entry:
Index: llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll
===================================================================
--- llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll
+++ llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll
@@ -6,7 +6,7 @@
 ; warning when performing cost analysis.
 
 ; If this check fails please read test/CodeGen/AArch64/README for instructions on how to resolve it.
-; WARN-NOT: warning: {{.*}}TypeSize is not scalable
+; WARN-NOT: warning:
 
 ; CHECK: Cost Model: Found an estimated cost of 1 for instruction:   %retval = getelementptr
 define <vscale x 16 x i8>* @gep_scalable_vector(<vscale x 16 x i8>* %ptr) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94161.314918.patch
Type: text/x-patch
Size: 4404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210106/c9cf34b1/attachment.bin>


More information about the llvm-commits mailing list