summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2017-10-27 20:13:06 +0000
committerCraig Topper <craig.topper@intel.com>2017-10-27 20:13:06 +0000
commit58fe564e9338985057cebe4b296ef59ff1de92bb (patch)
tree62ef48442b02c25162277c9e2e7b69afa7c9746b /llvm
parent91b7558ca888096483614ed92166f67c3c91027e (diff)
downloadbcm5719-llvm-58fe564e9338985057cebe4b296ef59ff1de92bb.tar.gz
bcm5719-llvm-58fe564e9338985057cebe4b296ef59ff1de92bb.zip
[X86] Add avx512vl command line to fast-isel-nontemporal.ll
llvm-svn: 316789
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/CodeGen/X86/fast-isel-nontemporal.ll27
1 files changed, 27 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll b/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll
index 33d001cdc21..80117588f5d 100644
--- a/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll
+++ b/llvm/test/CodeGen/X86/fast-isel-nontemporal.ll
@@ -4,6 +4,7 @@
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+mmx,+sse4.1 -fast-isel -O0 | FileCheck %s --check-prefix=ALL --check-prefix=SSE --check-prefix=SSE41
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+mmx,+avx -fast-isel -O0 | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX1
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+mmx,+avx2 -fast-isel -O0 | FileCheck %s --check-prefix=ALL --check-prefix=AVX --check-prefix=AVX2
+; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+mmx,+avx512vl -fast-isel -O0 | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512VL
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+mmx,+avx512f -fast-isel -O0 | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512F
; RUN: llc < %s -verify-machineinstrs -mtriple=x86_64-unknown-unknown -mattr=+mmx,+avx512bw -fast-isel -O0 | FileCheck %s --check-prefix=ALL --check-prefix=AVX512 --check-prefix=AVX512BW
@@ -848,6 +849,13 @@ define void @test_nt64xi8(<64 x i8>* nocapture %ptr, <64 x i8> %X) {
; AVX-NEXT: vzeroupper
; AVX-NEXT: retq
;
+; AVX512VL-LABEL: test_nt64xi8:
+; AVX512VL: # BB#0: # %entry
+; AVX512VL-NEXT: vmovntdq %ymm0, (%rdi)
+; AVX512VL-NEXT: vmovntdq %ymm1, 32(%rdi)
+; AVX512VL-NEXT: vzeroupper
+; AVX512VL-NEXT: retq
+;
; AVX512F-LABEL: test_nt64xi8:
; AVX512F: # BB#0: # %entry
; AVX512F-NEXT: vmovntdq %ymm0, (%rdi)
@@ -881,6 +889,13 @@ define void @test_nt32xi16(<32 x i16>* nocapture %ptr, <32 x i16> %X) {
; AVX-NEXT: vzeroupper
; AVX-NEXT: retq
;
+; AVX512VL-LABEL: test_nt32xi16:
+; AVX512VL: # BB#0: # %entry
+; AVX512VL-NEXT: vmovntdq %ymm0, (%rdi)
+; AVX512VL-NEXT: vmovntdq %ymm1, 32(%rdi)
+; AVX512VL-NEXT: vzeroupper
+; AVX512VL-NEXT: retq
+;
; AVX512F-LABEL: test_nt32xi16:
; AVX512F: # BB#0: # %entry
; AVX512F-NEXT: vmovntdq %ymm0, (%rdi)
@@ -1107,6 +1122,12 @@ define <64 x i8> @test_load_nt64xi8(<64 x i8>* nocapture %ptr) {
; AVX2-NEXT: vmovntdqa 32(%rdi), %ymm1
; AVX2-NEXT: retq
;
+; AVX512VL-LABEL: test_load_nt64xi8:
+; AVX512VL: # BB#0: # %entry
+; AVX512VL-NEXT: vmovntdqa (%rdi), %ymm0
+; AVX512VL-NEXT: vmovntdqa 32(%rdi), %ymm1
+; AVX512VL-NEXT: retq
+;
; AVX512F-LABEL: test_load_nt64xi8:
; AVX512F: # BB#0: # %entry
; AVX512F-NEXT: vmovntdqa (%rdi), %ymm0
@@ -1167,6 +1188,12 @@ define <32 x i16> @test_load_nt32xi16(<32 x i16>* nocapture %ptr) {
; AVX2-NEXT: vmovntdqa 32(%rdi), %ymm1
; AVX2-NEXT: retq
;
+; AVX512VL-LABEL: test_load_nt32xi16:
+; AVX512VL: # BB#0: # %entry
+; AVX512VL-NEXT: vmovntdqa (%rdi), %ymm0
+; AVX512VL-NEXT: vmovntdqa 32(%rdi), %ymm1
+; AVX512VL-NEXT: retq
+;
; AVX512F-LABEL: test_load_nt32xi16:
; AVX512F: # BB#0: # %entry
; AVX512F-NEXT: vmovntdqa (%rdi), %ymm0
OpenPOWER on IntegriCloud