diff options
author | Craig Topper <craig.topper@gmail.com> | 2012-04-07 21:23:41 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2012-04-07 21:23:41 +0000 |
commit | ad9fb01e86606e36965eb0cf53b27f296fd22948 (patch) | |
tree | 5e3aa7b2096407276f5dcf076f2d8c39c2dc19cb /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | d16c8d0d336638225378466bc17c9db156401817 (diff) |
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 84a8b7b11b..cf04e7d0f8 100644 --- a/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -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; |