]> granicus.if.org Git - clang/commit
[X86][Sema] Range check the constant argument for the vpshld/vpshrd builtins to ensur...
authorCraig Topper <craig.topper@intel.com>
Thu, 11 Jan 2018 01:38:02 +0000 (01:38 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 11 Jan 2018 01:38:02 +0000 (01:38 +0000)
commitd32c740042cd1ff3300f69fcbd678bf43fe51a5b
tree64ccfb2617369e201f6a66c514972034544abee7
parent40d6819af44de33c9d8378e3fce3f56b1d16dee1
[X86][Sema] Range check the constant argument for the vpshld/vpshrd builtins to ensure it fits in 8-bits.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@322247 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaChecking.cpp
test/Sema/builtins-x86.c