[PATCH] D38756: [x86] use an insert op to put one variable element into a constant of vectors
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 26 09:08:39 PDT 2017
spatel updated this revision to Diff 120433.
spatel marked 3 inline comments as done.
spatel added a comment.
Patch updated:
1. Pull LLVMContext local variable out, so it can be used later in LowerBUILD_VECTOR().
2. Initialize constant vector with undefs, so we don't have to explicitly set that in the loop.
3. Add TODO comment about reducing the size of the loads.
https://reviews.llvm.org/D38756
Files:
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/buildvec-insertvec.ll
test/CodeGen/X86/insert-into-constant-vector.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38756.120433.patch
Type: text/x-patch
Size: 48301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171026/b9c2b6d4/attachment.bin>
More information about the llvm-commits
mailing list