summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/CodeGen/X86/avx512-vbroadcast-crash.ll3
-rw-r--r--llvm/test/CodeGen/X86/avx512-zext-load-crash.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/X86/avx512-vbroadcast-crash.ll b/llvm/test/CodeGen/X86/avx512-vbroadcast-crash.ll
index 0d6d0d7ae5d..ed617f53606 100644
--- a/llvm/test/CodeGen/X86/avx512-vbroadcast-crash.ll
+++ b/llvm/test/CodeGen/X86/avx512-vbroadcast-crash.ll
@@ -1,6 +1,7 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
define <16 x i32> @test_vbroadcast() {
+ ; CHECK: vpbroadcastd
entry:
%0 = sext <16 x i1> zeroinitializer to <16 x i32>
%1 = fcmp uno <16 x float> undef, zeroinitializer
diff --git a/llvm/test/CodeGen/X86/avx512-zext-load-crash.ll b/llvm/test/CodeGen/X86/avx512-zext-load-crash.ll
index 5861fbfa0b5..07ded13a0e3 100644
--- a/llvm/test/CodeGen/X86/avx512-zext-load-crash.ll
+++ b/llvm/test/CodeGen/X86/avx512-zext-load-crash.ll
@@ -1,6 +1,7 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mcpu=knl | FileCheck %s
define <8 x i16> @test_zext_load() {
+ ; CHECK: vmovq
entry:
%0 = load <2 x i16> ** undef, align 8
%1 = getelementptr inbounds <2 x i16>* %0, i64 1
OpenPOWER on IntegriCloud