Remove 'else' after 'if' that ends in return.
authorCraig Topper <craig.topper@gmail.com>
Sat, 7 Apr 2012 21:23:41 +0000 (21:23 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sat, 7 Apr 2012 21:23:41 +0000 (21:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154267 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp

index 84a8b7b11ba7fcb104bf4d9d69b66dd43c4122ba..cf04e7d0f896780492a8b9e5d07f7939336c9ef0 100644 (file)
@@ -2941,7 +2941,7 @@ void SelectionDAGBuilder::visitShuffleVector(const User &I) {
       setValue(&I, DAG.getUNDEF(VT)); // Vectors are not used.
       return;
     }
-    else if (RangeUse[0] < 2 && RangeUse[1] < 2) {
+    if (RangeUse[0] < 2 && RangeUse[1] < 2) {
       // Extract appropriate subvector and generate a vector shuffle
       for (int Input=0; Input < 2; ++Input) {
         SDValue &Src = Input == 0 ? Src1 : Src2;