[PATCH] D16649: [AArch64] Custom lower some extloads
Matthew Simpson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 13:14:11 PST 2016
mssimpso created this revision.
mssimpso added reviewers: mcrosier, gberry, jmolloy, chandlerc.
mssimpso added a subscriber: llvm-commits.
Herald added subscribers: mcrosier, rengolin, aemerson.
This patch adds custom lowering for sign- and any-extended loads of v2i8, v4i8 and v2i16. Instead of generating multiple loads followed by vector inserts, we now generate a single scalar load followed by a vector shuffle. This works was adapted from r213897 (the corresponding patch for the X86 target).
http://reviews.llvm.org/D16649
Files:
lib/Target/AArch64/AArch64ISelLowering.cpp
lib/Target/AArch64/AArch64ISelLowering.h
test/CodeGen/AArch64/neon-truncStore-extLoad.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16649.46172.patch
Type: text/x-patch
Size: 8470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160127/50bc7f7d/attachment.bin>
More information about the llvm-commits
mailing list