Skip to content

Commit 9f3bb31

Browse files
chuongg3vg0204
authored andcommitted
[AArch64][NFC] Pre-commit test update for Select TBL/TBX instructions (llvm#92914)
1 parent 92b3127 commit 9f3bb31

File tree

1 file changed

+27
-1
lines changed

1 file changed

+27
-1
lines changed

llvm/test/CodeGen/AArch64/arm64-tbl.ll

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2-
; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s
2+
; RUN: llc < %s -mtriple=arm64-eabi -aarch64-neon-syntax=apple | FileCheck %s --check-prefixes=CHECK,CHECK-SD
3+
; 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
4+
5+
; CHECK-GI: warning: Instruction selection used fallback path for tbl2_8b
6+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl2_16b
7+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl3_8b
8+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl3_16b
9+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl4_8b
10+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbl4_16b
11+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_v8i8
12+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4
13+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_first_mask
14+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_first_mask2
15+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_second_mask
16+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_nonconst_second_mask2
17+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_mixed_shuffle
18+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_mixed_tbl2_mask1
19+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for shuffled_tbl2_to_tbl4_mixed_tbl2_mask2
20+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx2_8b
21+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx2_16b
22+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx3_8b
23+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx3_16b
24+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx4_8b
25+
; CHECK-GI-NEXT: warning: Instruction selection used fallback path for tbx4_16b
326

427
define <8 x i8> @tbl1_8b(<16 x i8> %A, <8 x i8> %B) nounwind {
528
; 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>,
571594
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
572595
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
573596

597+
;; NOTE: These prefixes are unused and the list is autogenerated. Do not add tests below this line:
598+
; CHECK-GI: {{.*}}
599+
; CHECK-SD: {{.*}}

0 commit comments

Comments
 (0)