summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKalle Raiskila <kalle.raiskila@nokia.com>2010-09-09 07:30:15 +0000
committerKalle Raiskila <kalle.raiskila@nokia.com>2010-09-09 07:30:15 +0000
commit01cda2d35a62afd19e661be8219ab9536fd658c4 (patch)
tree691e9af0808913d872d30b4ca6663fc31511fb80
parent5f256da834ceea0e1187deb42f0ce53852081cab (diff)
downloadbcm5719-llvm-01cda2d35a62afd19e661be8219ab9536fd658c4.tar.gz
bcm5719-llvm-01cda2d35a62afd19e661be8219ab9536fd658c4.zip
Silence compiler warning.
llvm-svn: 113478
-rw-r--r--llvm/lib/Target/CellSPU/SPUISelLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/CellSPU/SPUISelLowering.cpp b/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
index 7bac3f5552a..772a1a73e5f 100644
--- a/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
+++ b/llvm/lib/Target/CellSPU/SPUISelLowering.cpp
@@ -1737,7 +1737,7 @@ static SDValue LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) {
unsigned PrevElt = 0;
bool monotonic = true;
bool rotate = true;
- int rotamt;
+ int rotamt=0;
EVT maskVT; // which of the c?d instructions to use
if (EltVT == MVT::i8) {
OpenPOWER on IntegriCloud