commit | ad9fb01e86606e36965eb0cf53b27f296fd22948 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Sat Apr 07 21:23:41 2012 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Sat Apr 07 21:23:41 2012 +0000 |
tree | 5e3aa7b2096407276f5dcf076f2d8c39c2dc19cb | |
parent | d16c8d0d336638225378466bc17c9db156401817 [diff] [blame] |
Remove 'else' after 'if' that ends in return. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@154267 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 84a8b7b..cf04e7d 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -2941,7 +2941,7 @@ 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;