Fix Neon intrinsic immediate range checking for some double-register operands.
authorBob Wilson <bob.wilson@apple.com>
Wed, 15 Dec 2010 16:58:42 +0000 (16:58 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 15 Dec 2010 16:58:42 +0000 (16:58 +0000)
commit06b04aaf5c01ce218dcb1450448a7ec3a28c7fdb
treefdb0c85619131e61c4c0be6c4e4000db07a2cc8d
parentfea3b218d61708ea3577f4ef14c8f7677a94db95
Fix Neon intrinsic immediate range checking for some double-register operands.
Some quad-register intrinsics with lane operands only take a double-register
operand for the vector containing the lane.  The valid range of lane numbers
is then half as big as you would expect from the quad-register type.
Note: This currently has no effect because those intrinsics are now handled
entirely in the header file using __builtin_shufflevector, which does its own
range checking, but I want to use this for generating tests.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121867 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/NeonEmitter.cpp