diff options
author | James Molloy <james.molloy@arm.com> | 2012-09-06 10:32:08 +0000 |
---|---|---|
committer | James Molloy <james.molloy@arm.com> | 2012-09-06 10:32:08 +0000 |
commit | 9d30dc243224641d56d89176cb0b5cc4551a00f0 (patch) | |
tree | 5b4272d956eff12636914253f83a2c16b1e64e09 /llvm/lib | |
parent | feb4d07d887cb8922be75af6fecf85867351b9d5 (diff) | |
download | bcm5719-llvm-9d30dc243224641d56d89176cb0b5cc4551a00f0.tar.gz bcm5719-llvm-9d30dc243224641d56d89176cb0b5cc4551a00f0.zip |
Fix self-host; ensure signedness is consistent.
llvm-svn: 163306
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/ARM/ARMISelLowering.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMISelLowering.cpp b/llvm/lib/Target/ARM/ARMISelLowering.cpp index 62c758931e1..5f3a9c773f2 100644 --- a/llvm/lib/Target/ARM/ARMISelLowering.cpp +++ b/llvm/lib/Target/ARM/ARMISelLowering.cpp @@ -4175,7 +4175,7 @@ SDValue ARMTargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG, // Map of the number of times a particular SDValue appears in the // element list. - DenseMap<SDValue, int> ValueCounts; + DenseMap<SDValue, unsigned> ValueCounts; SDValue Value; for (unsigned i = 0; i < NumElts; ++i) { SDValue V = Op.getOperand(i); @@ -4187,7 +4187,7 @@ SDValue ARMTargetLowering::LowerBUILD_VECTOR(SDValue Op, SelectionDAG &DAG, isConstant = false; ValueCounts.insert(std::make_pair(V, 0)); - int &Count = ValueCounts[V]; + unsigned &Count = ValueCounts[V]; // Is this value dominant? (takes up more than half of the lanes) if (++Count > (NumElts / 2)) { |