diff options
author | Tim Northover <tnorthover@apple.com> | 2013-08-28 09:46:37 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-08-28 09:46:37 +0000 |
commit | 4ae9812283de43f76cf52f51992399ba0362eeae (patch) | |
tree | cdef306051f368848e7a6e7a6eb24ef692402cb9 /clang/lib/Format/Format.cpp | |
parent | 4e423f724ac2b9aad30dc7a01f493fe0395f7d06 (diff) | |
download | bcm5719-llvm-4ae9812283de43f76cf52f51992399ba0362eeae.tar.gz bcm5719-llvm-4ae9812283de43f76cf52f51992399ba0362eeae.zip |
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.
llvm-svn: 189463
Diffstat (limited to 'clang/lib/Format/Format.cpp')
0 files changed, 0 insertions, 0 deletions