Switch over getArch()'s result.
[oota-llvm.git] / lib / Transforms / Scalar / LoopIdiomRecognize.cpp
index eaa73572e23c4e5a4a5732c6a5aac157dd217a6b..26a83dfdc3c0ced8d163465425f20486999878a4 100644 (file)
@@ -115,7 +115,7 @@ namespace {
     Value *matchCondition (BranchInst *Br, BasicBlock *NonZeroTarget) const;
 
     /// Return true iff the idiom is detected in the loop. and 1) \p CntInst
-    /// is set to the instruction counting the pupulation bit. 2) \p CntPhi
+    /// is set to the instruction counting the population bit. 2) \p CntPhi
     /// is set to the corresponding phi node. 3) \p Var is set to the value
     /// whose population bits are being counted.
     bool detectIdiom
@@ -342,8 +342,8 @@ bool NclPopcountRecognize::preliminaryScreen() {
   return true;
 }
 
-Value *NclPopcountRecognize::matchCondition (BranchInst *Br,
-                                             BasicBlock *LoopEntry) const {
+Value *NclPopcountRecognize::matchCondition(BranchInst *Br,
+                                            BasicBlock *LoopEntry) const {
   if (!Br || !Br->isConditional())
     return nullptr;