Fix a warning introduced by r227557 due to a default label in a fully
authorChandler Carruth <chandlerc@gmail.com>
Fri, 30 Jan 2015 13:30:43 +0000 (13:30 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 30 Jan 2015 13:30:43 +0000 (13:30 +0000)
covering switch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227575 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Vectorize/LoopVectorize.cpp

index cec6989cab49a9b792ebc2353d1baf82f3633865..b722838b3f0d69663402510d6eab0abd93675123 100644 (file)
@@ -744,7 +744,6 @@ public:
         return B.CreateGEP(StartValue, Index);
 
       case IK_NoInduction:
-      default:
         return nullptr;
       }
     }