]> granicus.if.org Git - clang/commit
Fix the problem that the range check for scalar narrow shift is too wide.
authorHao Liu <Hao.Liu@arm.com>
Fri, 29 Nov 2013 02:13:17 +0000 (02:13 +0000)
committerHao Liu <Hao.Liu@arm.com>
Fri, 29 Nov 2013 02:13:17 +0000 (02:13 +0000)
commitbda9d2ebcb00e80d6b8ee340215c8d4ea7f35613
tree03791d48940c9ef038431c3e24cd4dc0d3241540
parentfbb82646b962c54a3f101df79b9f531e6a96f13d
Fix the problem that the range check for scalar narrow shift is too wide.
E.g. the immediate value of vshrns_n_s16 is [1,16], which should be [1,8].

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@195942 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/arm_neon.td
lib/CodeGen/CGBuiltin.cpp
test/CodeGen/aarch64-neon-intrinsics.c
utils/TableGen/NeonEmitter.cpp