Simplify. NFC.
[oota-llvm.git] / lib / Transforms / Scalar / LoopIdiomRecognize.cpp
index 0e3e0f1319155bbf2a9b4a81d36e5a785c51f9cb..668d1df854816d2d8d928adeab33c5b644a140aa 100644 (file)
@@ -667,10 +667,7 @@ bool LoopIdiomRecognize::processLoopStoreOfLoopLoad(
 }
 
 bool LoopIdiomRecognize::runOnNoncountableLoop() {
-  if (recognizePopcount())
-    return true;
-
-  return false;
+  return recognizePopcount();
 }
 
 /// Check if the given conditional branch is based on the comparison between