From 6b1aa9be6ada413763ada6a18ba9d33c27bfec3c Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Fri, 30 Jan 2015 13:30:43 +0000 Subject: [PATCH] Fix a warning introduced by r227557 due to a default label in a fully covering switch. llvm-svn: 227575 --- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp index cec6989cab49..b722838b3f0d 100644 --- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp +++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp @@ -744,7 +744,6 @@ public: return B.CreateGEP(StartValue, Index); case IK_NoInduction: - default: return nullptr; } }