[llvm-commits] Review request: ARM vector ctlz should use target-independent intrinsic

Joel Jones joel_k_jones at apple.com
Wed Jul 11 07:38:48 PDT 2012


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>

Joel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clangDiff10JulFirst
Type: application/octet-stream
Size: 726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120711/b0206eb2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmDiff10JulFirst
Type: application/octet-stream
Size: 5989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120711/b0206eb2/attachment-0001.obj>


More information about the llvm-commits mailing list