[PATCH] AArch64 Neon scalar floating-point to signed/unsigned integer convert instructions

mcrosier at codeaurora.org mcrosier at codeaurora.org
Wed Oct 9 12:18:32 PDT 2013


All,
The attached patches contain clang front-end and LLVM back-end code
changes to add support for NEON scalar floating-point to signed/unsigned
integer convert instructions.

I had a great deal of trouble trying to reuse the ARM intrinsics.  If I
tried to use the overloaded intrinsics I kept hitting an assert in
CodeGenModule::getIntrinsic(unsigned IID, ArrayRef< llvm::Type * > Tys). 
Specifically, the encoding in it IIT_Table would cause Tys[1] to be
dereferenced, but the array is of length one.  I'm not exactly sure why
this is happening or how these tables are encoded.

If someone could point me in the right direction, I would greatly
appreciate it.

  Chad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 006-neon-scalar-fp-to-integer-llvm.patch
Type: text/x-patch
Size: 31825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/523792a5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 006-neon-scalar-fp-to-integer-clang.patch
Type: text/x-patch
Size: 10165 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131009/523792a5/attachment-0001.bin>


More information about the llvm-commits mailing list