summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/Format.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
commit4ae9812283de43f76cf52f51992399ba0362eeae (patch)
treecdef306051f368848e7a6e7a6eb24ef692402cb9 /clang/lib/Format/Format.cpp
parent4e423f724ac2b9aad30dc7a01f493fe0395f7d06 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud