From 1a570de5bebe876ee42f79761327d239d742be96 Mon Sep 17 00:00:00 2001 From: Michael Zuckerman Date: Thu, 30 Jun 2016 12:12:20 +0000 Subject: [PATCH] [AVX512][BUILTIN][vpermilps][intrinsics] Fixing two incorrect IMM check. Differential Revision: http://reviews.llvm.org/D21836 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274224 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaChecking.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Sema/SemaChecking.cpp b/lib/Sema/SemaChecking.cpp index ea1e7e6102..866c25d6ac 100644 --- a/lib/Sema/SemaChecking.cpp +++ b/lib/Sema/SemaChecking.cpp @@ -1389,7 +1389,6 @@ bool Sema::CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { case X86::BI__builtin_ia32_extractf32x4_mask: case X86::BI__builtin_ia32_extracti32x4_mask: case X86::BI__builtin_ia32_vpermilpd_mask: - case X86::BI__builtin_ia32_vpermilps_mask: case X86::BI__builtin_ia32_extractf64x2_512_mask: case X86::BI__builtin_ia32_extracti64x2_512_mask: i = 1; l = 0; u = 3; @@ -1461,7 +1460,6 @@ bool Sema::CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { case X86::BI__builtin_ia32_roundps256: case X86::BI__builtin_ia32_roundpd256: case X86::BI__builtin_ia32_vpermilpd256_mask: - case X86::BI__builtin_ia32_vpermilps256_mask: i = 1; l = 0; u = 15; break; case X86::BI__builtin_ia32_roundss: @@ -1541,7 +1539,6 @@ bool Sema::CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { case X86::BI__builtin_ia32_psrlwi128_mask: case X86::BI__builtin_ia32_psrlwi256_mask: case X86::BI__builtin_ia32_vpermilpd512_mask: - case X86::BI__builtin_ia32_vpermilps512_mask: case X86::BI__builtin_ia32_psradi128_mask: case X86::BI__builtin_ia32_psradi256_mask: case X86::BI__builtin_ia32_psradi512_mask: @@ -1566,6 +1563,9 @@ bool Sema::CheckX86BuiltinFunctionCall(unsigned BuiltinID, CallExpr *TheCall) { case X86::BI__builtin_ia32_fpclasspd512_mask: case X86::BI__builtin_ia32_fpclasssd_mask: case X86::BI__builtin_ia32_fpclassss_mask: + case X86::BI__builtin_ia32_vpermilps_mask: + case X86::BI__builtin_ia32_vpermilps256_mask: + case X86::BI__builtin_ia32_vpermilps512_mask: i = 1; l = 0; u = 255; break; case X86::BI__builtin_ia32_palignr: -- 2.40.0