[llvm] 7f8572b - [ARM] select_xform.ll - re-add and fix missing CHECK prefixes

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 10:35:51 PDT 2022


Author: Simon Pilgrim
Date: 2022-03-22T17:35:10Z
New Revision: 7f8572b8c33384ce14eb38f37d854753fcb3de54

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

LOG: [ARM] select_xform.ll - re-add and fix missing CHECK prefixes

We were still checking test results with the CHECK prefix but they had bit-rotted since whenever it'd been removed from the --check-prefixes list

Added: 
    

Modified: 
    llvm/test/CodeGen/ARM/select_xform.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/ARM/select_xform.ll b/llvm/test/CodeGen/ARM/select_xform.ll
index f19abd45deb83..78986f1205dbf 100644
--- a/llvm/test/CodeGen/ARM/select_xform.ll
+++ b/llvm/test/CodeGen/ARM/select_xform.ll
@@ -1,5 +1,5 @@
-; RUN: llc < %s -mtriple=arm-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=ARM
-; RUN: llc < %s -mtriple=thumb-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefix=T2
+; RUN: llc < %s -mtriple=arm-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefixes=CHECK,ARM
+; RUN: llc < %s -mtriple=thumb-apple-darwin -mcpu=cortex-a8 | FileCheck %s -check-prefixes=CHECK,T2
 ; rdar://8662825
 
 define i32 @t1(i32 %a, i32 %b, i32 %c) nounwind {
@@ -319,9 +319,10 @@ entry:
 
 define  <2 x i32> @t21(<2 x i32> %lhs, <2 x i32> %rhs) {
 ; CHECK-LABEL: t21:
-; CHECK-NOT: eor
-; CHECK: mvn
-; CHECK-NOT: eor
+; CHECK: vceq.i32
+; CHECK: veor
+; CHECK: vshl.i32 {{d[0-9]+}}, {{d[0-9]+}}, #31
+; CHECK: vshr.s32 {{d[0-9]+}}, {{d[0-9]+}}, #31
   %tst = icmp eq <2 x i32> %lhs, %rhs
   %ntst = xor <2 x i1> %tst, <i1 1 , i1 undef>
   %btst = sext <2 x i1> %ntst to <2 x i32>


        


More information about the llvm-commits mailing list