diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-15 13:28:31 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-10-15 13:28:31 +0000 |
commit | 003fad98ccf88c3d44688e8cb73b90d766e4705b (patch) | |
tree | 777506ee102538656b8a50920b3f11df549370c2 /lib/Target | |
parent | 1673b15da2d908e0ea9fd2d64f61d6d226cfe16e (diff) | |
download | external_llvm-003fad98ccf88c3d44688e8cb73b90d766e4705b.zip external_llvm-003fad98ccf88c3d44688e8cb73b90d766e4705b.tar.gz external_llvm-003fad98ccf88c3d44688e8cb73b90d766e4705b.tar.bz2 |
SmallVector -> array
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index a3e4692..f75d695 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -5438,11 +5438,11 @@ X86TargetLowering::LowerVECTOR_SHUFFLEv8i16(SDValue Op, // Determine if more than 1 of the words in each of the low and high quadwords // of the result come from the same quadword of one of the two inputs. Undef // mask values count as coming from any quadword, for better codegen. - SmallVector<unsigned, 4> LoQuad(4); - SmallVector<unsigned, 4> HiQuad(4); + unsigned LoQuad[] = { 0, 0, 0, 0 }; + unsigned HiQuad[] = { 0, 0, 0, 0 }; BitVector InputQuads(4); for (unsigned i = 0; i < 8; ++i) { - SmallVectorImpl<unsigned> &Quad = i < 4 ? LoQuad : HiQuad; + unsigned *Quad = i < 4 ? LoQuad : HiQuad; int EltIdx = SVOp->getMaskElt(i); MaskVals.push_back(EltIdx); if (EltIdx < 0) { |