[llvm-commits] [llvm] r149485 - in /llvm/trunk: lib/Target/X86/X86ISelLowering.cpp lib/Target/X86/X86ISelLowering.h test/CodeGen/X86/avx-trunc.ll
Duncan Sands
baldrick at free.fr
Wed Feb 1 02:02:39 PST 2012
Hi Elena,
>> + // PSHUFD
>> + SmallVector<int,4> ShufMask1;
>> + ShufMask1.push_back(0);
>> + ShufMask1.push_back(2);
>> + ShufMask1.push_back(0);
>> + ShufMask1.push_back(0);
why not just
int ShufMask1[] = {0, 2, 0, 0};
?
Likewise for all the other instances of this odd idiom.
Ciao, Duncan.
More information about the llvm-commits
mailing list