Author: Peter Waller Date: 2021-01-06T17:17:07Z New Revision: 3e357ecd44a610ab39c33c85a15cf6437891655b
URL: https://github.com/llvm/llvm-project/commit/3e357ecd44a610ab39c33c85a15cf6437891655b DIFF: https://github.com/llvm/llvm-project/commit/3e357ecd44a610ab39c33c85a15cf6437891655b.diff LOG: [llvm][NFC] Disallow all warnings in TypeSize tests This is a follow-up to a request from a reviewer [0]. The text may change in the future and these tests should not produce any warning output. [0] https://reviews.llvm.org/D91806#inline-879243 Reviewed By: sdesmalen, david-arm Differential Revision: https://reviews.llvm.org/D94161 Added: Modified: 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 Removed: ################################################################################ diff --git a/llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll b/llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll index 4bc6889e3fdd..019aa0148365 100644 --- a/llvm/test/Analysis/CostModel/AArch64/cost-scalable-vector-gep.ll +++ b/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) { diff --git a/llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll b/llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll index 7e4e5bacd12b..050b09925b46 100644 --- a/llvm/test/Analysis/LoopAccessAnalysis/gep-induction-operand-typesize-warning.ll +++ b/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: diff --git a/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll b/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll index d1a980f51c37..e8d25883a6cc 100644 --- a/llvm/test/Analysis/LoopAccessAnalysis/runtime-pointer-checking-insert-typesize.ll +++ b/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) { diff --git a/llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll b/llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll index fd5b85a57de1..ba8d8cb0a0d2 100644 --- a/llvm/test/CodeGen/AArch64/dag-combine-lifetime-end-store-typesize.ll +++ b/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) diff --git a/llvm/test/CodeGen/AArch64/sve-redundant-store.ll b/llvm/test/CodeGen/AArch64/sve-redundant-store.ll index 65fd1e22de02..0673272c19be 100644 --- a/llvm/test/CodeGen/AArch64/sve-redundant-store.ll +++ b/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> diff --git a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll b/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll index c20128d5fe02..68e840bfe251 100644 --- a/llvm/test/Transforms/InstCombine/gep-can-replace-gep-idx-with-zero-typesize.ll +++ b/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) diff --git a/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll b/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll index addaa42765c9..34264562e71f 100644 --- a/llvm/test/Transforms/LoopVectorize/AArch64/sve-scalable-load-in-loop.ll +++ b/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> ; _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits