mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 12:43:36 +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:
parent
85e110e6e7
commit
d954147555
@ -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) {
|
||||
|
@ -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:
|
||||
|
@ -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) {
|
||||
|
@ -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)
|
||||
|
@ -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>
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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>
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user