[llvm] f43b5c7 - [SVE] Add checks for no warnings in CodeGen/AArch64/sve-sext-zext.ll

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 29 05:08:04 PDT 2020


Author: David Sherwood
Date: 2020-07-29T13:06:39+01:00
New Revision: f43b5c7a76ab83dcc80e6769d41d5c4b761312b1

URL: https://github.com/llvm/llvm-project/commit/f43b5c7a76ab83dcc80e6769d41d5c4b761312b1
DIFF: https://github.com/llvm/llvm-project/commit/f43b5c7a76ab83dcc80e6769d41d5c4b761312b1.diff

LOG: [SVE] Add checks for no warnings in CodeGen/AArch64/sve-sext-zext.ll

Previous patches fixed up all the warnings in this test:

  llvm/test/CodeGen/AArch64/sve-sext-zext.ll

and this change simply checks that no new warnings are added in future.

Differential revision: https://reviews.llvm.org/D83205

Added: 
    

Modified: 
    llvm/test/CodeGen/AArch64/sve-sext-zext.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/AArch64/sve-sext-zext.ll b/llvm/test/CodeGen/AArch64/sve-sext-zext.ll
index 24cf433306bb..1275811d175e 100644
--- a/llvm/test/CodeGen/AArch64/sve-sext-zext.ll
+++ b/llvm/test/CodeGen/AArch64/sve-sext-zext.ll
@@ -1,5 +1,8 @@
 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc -mtriple=aarch64--linux-gnu -mattr=+sve < %s | FileCheck %s
+; RUN: llc -mtriple=aarch64--linux-gnu -mattr=+sve < %s 2>%t | FileCheck %s
+; RUN: FileCheck --check-prefix=WARN --allow-empty %s <%t
+
+; WARN-NOT: warning
 
 define <vscale x 16 x i8> @sext_i1_i8(<vscale x 16 x i1> %a) {
 ; CHECK-LABEL: sext_i1_i8:


        


More information about the llvm-commits mailing list