summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/avx512-insert-extract.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/avx512-insert-extract.ll')
-rw-r--r--llvm/test/CodeGen/X86/avx512-insert-extract.ll5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/avx512-insert-extract.ll b/llvm/test/CodeGen/X86/avx512-insert-extract.ll
index 205af7949c2..236985505e1 100644
--- a/llvm/test/CodeGen/X86/avx512-insert-extract.ll
+++ b/llvm/test/CodeGen/X86/avx512-insert-extract.ll
@@ -287,8 +287,9 @@ define i16 @test15(i1 *%addr) {
; CHECK: ## %bb.0:
; CHECK-NEXT: xorl %ecx, %ecx
; CHECK-NEXT: cmpb $0, (%rdi)
-; CHECK-NEXT: movw $-1, %ax
-; CHECK-NEXT: cmovew %cx, %ax
+; CHECK-NEXT: movl $65535, %eax ## imm = 0xFFFF
+; CHECK-NEXT: cmovel %ecx, %eax
+; CHECK-NEXT: ## kill: def $ax killed $ax killed $eax
; CHECK-NEXT: retq
%x = load i1 , i1 * %addr, align 1
%x1 = insertelement <16 x i1> undef, i1 %x, i32 10
OpenPOWER on IntegriCloud