summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-08-28 09:46:37 +0000
committerTim Northover <tnorthover@apple.com>2013-08-28 09:46:37 +0000
commit6bf1e8eadd36f077cf5403d23c664129d98eaf79 (patch)
treef6db658d861c33850f14aed4248c028f3b2fa32e /lib/CodeGen/CodeGenFunction.cpp
parentb1c09b913e331824da29f8017452b6171f7eccbc (diff)
downloadclang-6bf1e8eadd36f077cf5403d23c664129d98eaf79.tar.gz
clang-6bf1e8eadd36f077cf5403d23c664129d98eaf79.tar.bz2
clang-6bf1e8eadd36f077cf5403d23c664129d98eaf79.tar.xz
ARM: Emit normal IR for vaddhn/vsubhn NEON intrinsics
These operations "vector add high-half narrow" actually correspond to the sequence: %sum = add <4 x i32> %lhs, %rhs %high = lshr <4 x i32> %sum, <i32 16, i32 16, i32 16, i32 16> %res = trunc <4 x i32> %high to <4 x i16> Now that LLVM can spot this, Clang should emit the corresponding LLVM IR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189463 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions