diff options
author | Joel Jones <joel_k_jones@apple.com> | 2012-07-13 23:26:27 +0000 |
---|---|---|
committer | Joel Jones <joel_k_jones@apple.com> | 2012-07-13 23:26:27 +0000 |
commit | 3e00e9d5c1a9a46c8c2a51b93c610e7d8a3edcbb (patch) | |
tree | 391ff7c0106e3a551581804c215fc40ee182f1a5 /clang/lib/AST/Decl.cpp | |
parent | 43cb87839ca20da38a8794d4345e3cb35fdb5d45 (diff) | |
download | bcm5719-llvm-3e00e9d5c1a9a46c8c2a51b93c610e7d8a3edcbb.tar.gz bcm5719-llvm-3e00e9d5c1a9a46c8c2a51b93c610e7d8a3edcbb.zip |
This is one of the first steps at moving to replace target-dependent
intrinsics with target-indepdent intrinsics. The first instruction(s) to be
handled are the vector versions of count leading zeros (ctlz).
The changes here are to clang so that it generates a target independent
vector ctlz when it sees an ARM dependent vector ctlz. The changes in llvm
are to match the target independent vector ctlz and in VMCore/AutoUpgrade.cpp
to update any existing bc files containing ARM dependent vector ctlzs with
target-independent ctlzs. There are also changes to an existing test case in
llvm for ARM vector count instructions and a new test for the bitcode upgrade.
<rdar://problem/11831778>
There is deliberately no test for the change to clang, as so far as I know, no
consensus has been reached regarding how to test neon instructions in clang;
q.v. <rdar://problem/8762292>
llvm-svn: 160201
Diffstat (limited to 'clang/lib/AST/Decl.cpp')
0 files changed, 0 insertions, 0 deletions