[PATCH] D82957: [SVE] Add warnings checks in four more LLVM SVE tests
David Sherwood via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 1 07:00:18 PDT 2020
david-arm created this revision.
Herald added subscribers: llvm-commits, psnobl, rkruppe, kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
david-arm added child revisions: D82655: [CodeGen] Fix up warnings in visitEXTRACT_SUBVECTOR, D82744: [CodeGen] Fix warnings in getCopyToPartsVector.
david-arm added reviewers: c-rhodes, sdesmalen.
david-arm added a comment.
david-arm removed child revisions: D82744: [CodeGen] Fix warnings in getCopyToPartsVector, D82655: [CodeGen] Fix up warnings in visitEXTRACT_SUBVECTOR.
david-arm added parent revisions: D82655: [CodeGen] Fix up warnings in visitEXTRACT_SUBVECTOR, D82744: [CodeGen] Fix warnings in getCopyToPartsVector.
These tests will currently fail as they depend upon the child revisions being committed.
I have added CHECK lines to the following tests:
llvm/test/CodeGen/AArch64/sve-breakdown-scalable-vectortype.ll
llvm/test/CodeGen/AArch64/sve-calling-convention-tuple-types.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
since they are now free of warnings related to invalid use of
EVT::getVectorNumElements() and VectorType::getNumElements().
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82957
Files:
llvm/test/CodeGen/AArch64/sve-breakdown-scalable-vectortype.ll
llvm/test/CodeGen/AArch64/sve-calling-convention-tuple-types.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
Index: llvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
===================================================================
--- llvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
+++ llvm/test/CodeGen/AArch64/sve-intrinsics-loads.ll
@@ -1,4 +1,7 @@
-; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve,+bf16 -asm-verbose=0 < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64-linux-gnu -mattr=+sve,+bf16 -asm-verbose=0 < %s 2>%t | FileCheck %s
+; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
+
+; WARN-NOT: warning
;
; LD1RQB
Index: llvm/test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll
===================================================================
--- llvm/test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll
+++ llvm/test/CodeGen/AArch64/sve-intrinsics-create-tuple.ll
@@ -1,4 +1,7 @@
-; RUN: llc -mtriple aarch64 -mattr=+sve -asm-verbose=1 < %s | FileCheck %s
+; RUN: llc -mtriple aarch64 -mattr=+sve -asm-verbose=1 < %s 2>%t | FileCheck %s
+; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
+
+; WARN-NOT: warning
;
; SVCREATE2 (i8)
Index: llvm/test/CodeGen/AArch64/sve-calling-convention-tuple-types.ll
===================================================================
--- llvm/test/CodeGen/AArch64/sve-calling-convention-tuple-types.ll
+++ llvm/test/CodeGen/AArch64/sve-calling-convention-tuple-types.ll
@@ -1,4 +1,7 @@
-; RUN: llc -mtriple aarch64 -mattr=+sve -asm-verbose=0 < %s | FileCheck %s
+; RUN: llc -mtriple aarch64 -mattr=+sve -asm-verbose=0 < %s 2>%t | FileCheck %s
+; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
+
+; WARN-NOT: warning
;
; svint8x2_t
Index: llvm/test/CodeGen/AArch64/sve-breakdown-scalable-vectortype.ll
===================================================================
--- llvm/test/CodeGen/AArch64/sve-breakdown-scalable-vectortype.ll
+++ llvm/test/CodeGen/AArch64/sve-breakdown-scalable-vectortype.ll
@@ -1,4 +1,7 @@
-; RUN: llc -mtriple=aarch64--linux-gnu -mattr=+sve -asm-verbose=0 < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64--linux-gnu -mattr=+sve -asm-verbose=0 < %s 2>%t | FileCheck %s
+; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
+
+; WARN-NOT: warning
; Test that scalable vectors that are a multiple of the legal vector size
; can be properly broken down into part vectors.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82957.274782.patch
Type: text/x-patch
Size: 2292 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200701/c88edbd1/attachment.bin>
More information about the llvm-commits
mailing list