summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-10-15 13:28:31 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-10-15 13:28:31 +0000
commit5fb5e3b384d511a3798bd02489c710754ede8f58 (patch)
treefd5d8343dcad7c7fac4a5232adb1bdb86e44564b /llvm/lib/Target
parent22d24c287ac00510b0a635da2e8a8b25b8b3f89d (diff)
downloadbcm5719-llvm-5fb5e3b384d511a3798bd02489c710754ede8f58.tar.gz
bcm5719-llvm-5fb5e3b384d511a3798bd02489c710754ede8f58.zip
SmallVector -> array
llvm-svn: 142073
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/X86ISelLowering.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86ISelLowering.cpp b/llvm/lib/Target/X86/X86ISelLowering.cpp
index a3e4692860a..f75d695ac59 100644
--- a/llvm/lib/Target/X86/X86ISelLowering.cpp
+++ b/llvm/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) {
OpenPOWER on IntegriCloud