[llvm] 6543453 - [AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions (#92914)
Tuan Chuong Goh via llvm-commits
llvm-commits at lists.llvm.org
Wed May 29 03:13:18 PDT 2024
Author: Tuan Chuong Goh
Date: 2024-05-29T10:12:24Z
New Revision: 6543453c3604c5532666a9bad2bf3d261099dab5
URL: https://github.com/llvm/llvm-project/commit/6543453c3604c5532666a9bad2bf3d261099dab5
DIFF: https://github.com/llvm/llvm-project/commit/6543453c3604c5532666a9bad2bf3d261099dab5.diff
LOG: [AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions (#92914)
Added:
Modified:
llvm/test/CodeGen/AArch64/arm64-tbl.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/arm64-tbl.ll b/llvm/test/CodeGen/AArch64/arm64-tbl.ll
index b89232c03f136..96b2af7274b5b 100644
--- a/llvm/test/CodeGen/AArch64/arm64-tbl.ll
+++ b/llvm/test/CodeGen/AArch64/arm64-tbl.ll
@@ -1,5 +1,28 @@
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
-; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s
+; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s --check-prefixes=CHECK,CHECK-SD
+; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple -global-isel -global-isel-abort=2 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-GI
+
+; CHECK-GI: warning: Instruction selection used fallback path for tbl2_8b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl2_16b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl3_8b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl3_16b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl4_8b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl4_16b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_v8i8
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_first_mask
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_first_mask2
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_second_mask
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_second_mask2
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_mixed_shuffle
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_mixed_tbl2_mask1
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_mixed_tbl2_mask2
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx2_8b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx2_16b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx3_8b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx3_16b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx4_8b
+; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx4_16b
define <8 x i8> @tbl1_8b(<16 x i8> %A, <8 x i8> %B) nounwind {
; CHECK-LABEL: tbl1_8b:
@@ -571,3 +594,6 @@ declare <16 x i8> @llvm.aarch64.neon.tbx3.v16i8(<16 x i8>, <16 x i8>, <16 x i8>,
declare <8 x i8> @llvm.aarch64.neon.tbx4.v8i8(<8 x i8>, <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8>, <8 x i8>) nounwind readnone
declare <16 x i8> @llvm.aarch64.neon.tbx4.v16i8(<16 x i8>, <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8>, <16 x i8>) nounwind readnone
+;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
+; CHECK-GI: {{.*}}
+; CHECK-SD: {{.*}}
More information about the llvm-commits
mailing list