Skip to content

Commit bdfebc3

Browse files
committed
[X86] Use update_mir_test_checks.py to generate CHECK lines in masked_compressstore_isel.ll. NFC
1 parent 1ebbf97 commit bdfebc3

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

llvm/test/CodeGen/X86/masked_compressstore_isel.ll

+12-9
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
12
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -start-after=codegenprepare -stop-before finalize-isel | FileCheck %s
23

34
define void @_Z3fooiPiPs(<8 x i32> %gepload, <8 x i1> %0) #0 {
5+
; CHECK-LABEL: name: _Z3fooiPiPs
6+
; CHECK: bb.0.entry:
7+
; CHECK-NEXT: liveins: $ymm0, $xmm1
8+
; CHECK-NEXT: {{ $}}
9+
; CHECK-NEXT: [[COPY:%[0-9]+]]:vr128x = COPY $xmm1
10+
; CHECK-NEXT: [[COPY1:%[0-9]+]]:vr256x = COPY $ymm0
11+
; CHECK-NEXT: [[VPSLLWZ128ri:%[0-9]+]]:vr128x = VPSLLWZ128ri [[COPY]], 15
12+
; CHECK-NEXT: [[VPMOVW2MZ128rr:%[0-9]+]]:vk16wm = VPMOVW2MZ128rr killed [[VPSLLWZ128ri]]
13+
; CHECK-NEXT: [[VPMOVDWZ256rr:%[0-9]+]]:vr128x = VPMOVDWZ256rr [[COPY1]]
14+
; CHECK-NEXT: VPCOMPRESSWZ128mrk $noreg, 1, $noreg, 0, $noreg, killed [[VPMOVW2MZ128rr]], killed [[VPMOVDWZ256rr]] :: (store unknown-size into `ptr null`, align 16)
15+
; CHECK-NEXT: RET 0
416
entry:
517
%1 = trunc <8 x i32> %gepload to <8 x i16>
618
tail call void @llvm.masked.compressstore.v8i16(<8 x i16> %1, ptr null, <8 x i1> %0)
719
ret void
820
}
921

10-
; CHECK-LABEL: bb.0.entry:
11-
; CHECK: %1:vr128x = COPY $xmm1
12-
; CHECK-NEXT: %0:vr256x = COPY $ymm0
13-
; CHECK-NEXT: %2:vr128x = VPSLLWZ128ri %1, 15
14-
; CHECK-NEXT: %3:vk16wm = VPMOVW2MZ128rr killed %2
15-
; CHECK-NEXT: %4:vr128x = VPMOVDWZ256rr %0
16-
; CHECK-NEXT: VPCOMPRESSWZ128mrk $noreg, 1, $noreg, 0, $noreg, killed %3, killed %4 :: (store unknown-size into `ptr null`, align 16)
17-
; CHECK-NEXT: RET 0
18-
1922
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: write)
2023
declare void @llvm.masked.compressstore.v8i16(<8 x i16>, ptr nocapture, <8 x i1>) #1
2124

0 commit comments

Comments
 (0)