summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
diff options
context:
space:
mode:
authorAmjad Aboud <amjad.aboud@intel.com>2017-03-03 09:03:24 +0000
committerAmjad Aboud <amjad.aboud@intel.com>2017-03-03 09:03:24 +0000
commit4f97751798900594c05908105602a51201f99891 (patch)
treeff34d5471d07e8c622421992f8b04b323f2cd9f1 /llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
parentdb04cccb87813a60cad7f89b726b6c1bc6dbb8ff (diff)
downloadbcm5719-llvm-4f97751798900594c05908105602a51201f99891.tar.gz
bcm5719-llvm-4f97751798900594c05908105602a51201f99891.zip
[X86] Generate VZEROUPPER for Skylake-avx512.
VZEROUPPER should not be issued on Knights Landing (KNL), but on Skylake-avx512 it should be. Differential Revision: https://reviews.llvm.org/D29874 llvm-svn: 296859
Diffstat (limited to 'llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll')
-rw-r--r--llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll b/llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
index a1b46b9324d..d17db7d9779 100644
--- a/llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
+++ b/llvm/test/CodeGen/X86/vec_uint_to_fp-fastmath.ll
@@ -77,6 +77,7 @@ define <4 x float> @test_uitofp_v4i32_to_v4f32(<4 x i32> %arg) {
; AVX512F-NEXT: # kill
; AVX512F-NEXT: vcvtudq2ps %zmm0, %zmm0
; AVX512F-NEXT: # kill
+; AVX512F-NEXT: vzeroupper
; AVX512F-NEXT: retq
;
; AVX512VL-LABEL: test_uitofp_v4i32_to_v4f32:
OpenPOWER on IntegriCloud