r227679 - [X86] Add immediate range checking for a couple XOP builtins.
Craig Topper
craig.topper at gmail.com
Sat Jan 31 00:57:52 PST 2015
Author: ctopper
Date: Sat Jan 31 02:57:52 2015
New Revision: 227679
URL: http://llvm.org/viewvc/llvm-project?rev=227679&view=rev
Log:
[X86] Add immediate range checking for a couple XOP builtins.
Modified:
cfe/trunk/lib/Sema/SemaChecking.cpp
Modified: cfe/trunk/lib/Sema/SemaChecking.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaChecking.cpp?rev=227679&r1=227678&r2=227679&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaChecking.cpp (original)
+++ cfe/trunk/lib/Sema/SemaChecking.cpp Sat Jan 31 02:57:52 2015
@@ -890,6 +890,10 @@ bool Sema::CheckX86BuiltinFunctionCall(u
case X86::BI__builtin_ia32_blendps:
case X86::BI__builtin_ia32_blendpd256:
case X86::BI__builtin_ia32_sha1rnds4: i = 2, l = 0; u = 3; break;
+ case X86::BI__builtin_ia32_vpermil2pd:
+ case X86::BI__builtin_ia32_vpermil2pd256:
+ case X86::BI__builtin_ia32_vpermil2ps:
+ case X86::BI__builtin_ia32_vpermil2ps256: i = 3, l = 0; u = 3; break;
case X86::BI__builtin_ia32_cmpb128_mask:
case X86::BI__builtin_ia32_cmpw128_mask:
case X86::BI__builtin_ia32_cmpd128_mask:
More information about the cfe-commits
mailing list