summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/avx512-calling-conv.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/avx512-calling-conv.ll')
-rw-r--r--llvm/test/CodeGen/X86/avx512-calling-conv.ll19
1 files changed, 12 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/X86/avx512-calling-conv.ll b/llvm/test/CodeGen/X86/avx512-calling-conv.ll
index 5ea44c5ea2d..e3cf2181387 100644
--- a/llvm/test/CodeGen/X86/avx512-calling-conv.ll
+++ b/llvm/test/CodeGen/X86/avx512-calling-conv.ll
@@ -412,18 +412,23 @@ define i32 @test12(i32 %a1, i32 %a2, i32 %b1) {
}
define <1 x i1> @test13(<1 x i1>* %foo) {
-; ALL_X64-LABEL: test13:
-; ALL_X64: ## %bb.0:
-; ALL_X64-NEXT: movzbl (%rdi), %eax
-; ALL_X64-NEXT: andl $1, %eax
-; ALL_X64-NEXT: ## kill: def %al killed %al killed %eax
-; ALL_X64-NEXT: retq
+; KNL-LABEL: test13:
+; KNL: ## %bb.0:
+; KNL-NEXT: movzbl (%rdi), %eax
+; KNL-NEXT: ## kill: def %al killed %al killed %eax
+; KNL-NEXT: retq
+;
+; SKX-LABEL: test13:
+; SKX: ## %bb.0:
+; SKX-NEXT: kmovb (%rdi), %k0
+; SKX-NEXT: kmovd %k0, %eax
+; SKX-NEXT: ## kill: def %al killed %al killed %eax
+; SKX-NEXT: retq
;
; KNL_X32-LABEL: test13:
; KNL_X32: ## %bb.0:
; KNL_X32-NEXT: movl {{[0-9]+}}(%esp), %eax
; KNL_X32-NEXT: movzbl (%eax), %eax
-; KNL_X32-NEXT: andl $1, %eax
; KNL_X32-NEXT: ## kill: def %al killed %al killed %eax
; KNL_X32-NEXT: retl
%bar = load <1 x i1>, <1 x i1>* %foo
OpenPOWER on IntegriCloud