1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[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
This commit is contained in:
Peter Waller 2021-01-06 17:16:38 +00:00
parent 85e110e6e7
commit d954147555
7 changed files with 7 additions and 7 deletions

View File

@ -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) {

View File

@ -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:

View File

@ -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) {

View File

@ -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)

View File

@ -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>

View File

@ -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)

View File

@ -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>
;