Simplify. NFC.
authorChad Rosier <mcrosier@codeaurora.org>
Mon, 9 Nov 2015 16:56:06 +0000 (16:56 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Mon, 9 Nov 2015 16:56:06 +0000 (16:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252491 91177308-0d34-0410-b5e6-96231b3b80d8

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