Refactor: Simplify boolean conditional return statements in lib/Target/PowerPC
[oota-llvm.git] / lib / Target / PowerPC / PPCISelDAGToDAG.cpp
index a2d588c8c264cb03f987cfe17b11ea96fa2b7ad3..1eaa8118ba0a72a493217fe41a0d778fc0858121 100644 (file)
@@ -1612,10 +1612,7 @@ class BitPermutationSelector {
           return false;
         }
 
-        if (VRI.RLAmt != EffRLAmt)
-          return false;
-
-        return true;
+        return VRI.RLAmt == EffRLAmt;
       };
 
       for (auto &BG : BitGroups) {