[llvm] r252491 - Simplify. NFC.
Chad Rosier via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 9 08:56:07 PST 2015
Author: mcrosier
Date: Mon Nov 9 10:56:06 2015
New Revision: 252491
URL: http://llvm.org/viewvc/llvm-project?rev=252491&view=rev
Log:
Simplify. NFC.
Modified:
llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
Modified: llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp?rev=252491&r1=252490&r2=252491&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIdiomRecognize.cpp Mon Nov 9 10:56:06 2015
@@ -667,10 +667,7 @@ bool LoopIdiomRecognize::processLoopStor
}
bool LoopIdiomRecognize::runOnNoncountableLoop() {
- if (recognizePopcount())
- return true;
-
- return false;
+ return recognizePopcount();
}
/// Check if the given conditional branch is based on the comparison between
More information about the llvm-commits
mailing list