Do not assert on shifts of Neon polynomial types.
commitbc1e8835a4e7efcfa489e63d656782ef23c0c16a
authorBob Wilson <bob.wilson@apple.com>
Fri, 10 Dec 2010 19:45:06 +0000 (10 19:45 +0000)
committerBob Wilson <bob.wilson@apple.com>
Fri, 10 Dec 2010 19:45:06 +0000 (10 19:45 +0000)
treeba926625383d725ade5d41be5e21d49874c899b3
parent2c2be516a14fcb74cde26f2359b86094b9b866ce
Do not assert on shifts of Neon polynomial types.
Most Neon shift intrinsics do not have variants for polynomial types, but
vsri_n and vsli_n do support them, and we need to properly range-check the
shift immediates for them.

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