Silence compiler warning.
authorKalle Raiskila <kalle.raiskila@nokia.com>
Thu, 9 Sep 2010 07:30:15 +0000 (07:30 +0000)
committerKalle Raiskila <kalle.raiskila@nokia.com>
Thu, 9 Sep 2010 07:30:15 +0000 (07:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113478 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/CellSPU/SPUISelLowering.cpp

index 7bac3f5552abbaf28d043e846fe038330b9d328e..772a1a73e5f05620d79ce6c97ca2e85fe88be445 100644 (file)
@@ -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) {