Skip to content

Commit 6ad4bf3

Browse files
committed
[X86] Regenerate 2011-12-06-AVXVectorExtractCombine.ll
1 parent 7f5b388 commit 6ad4bf3

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

llvm/test/CodeGen/X86/2011-12-06-AVXVectorExtractCombine.ll

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1+
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
12
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+avx | FileCheck %s
23
; PR11494
34

45
define void @test(<4 x i32>* nocapture %p) nounwind {
5-
; CHECK-LABEL: test:
6-
; CHECK: vpxor %xmm0, %xmm0, %xmm0
7-
; CHECK-NEXT: vpmaxsd (%rdi), %xmm0, %xmm0
8-
; CHECK-NEXT: vmovdqu %xmm0, (%rdi)
9-
; CHECK-NEXT: ret
6+
; CHECK-LABEL: test:
7+
; CHECK: ## %bb.0:
8+
; CHECK-NEXT: vpxor %xmm0, %xmm0, %xmm0
9+
; CHECK-NEXT: vpmaxsd (%rdi), %xmm0, %xmm0
10+
; CHECK-NEXT: vmovdqu %xmm0, (%rdi)
11+
; CHECK-NEXT: retq
1012
%a = load <4 x i32>, <4 x i32>* %p, align 1
1113
%b = call <4 x i32> @llvm.x86.sse41.pmaxsd(<4 x i32> %a, <4 x i32> zeroinitializer) nounwind
1214
%c = shufflevector <4 x i32> %b, <4 x i32> undef, <8 x i32> <i32 undef, i32 undef, i32 undef, i32 undef, i32 0, i32 1, i32 2, i32 3>

0 commit comments

Comments
 (0)