Disable an xform that causes an infinite loop. This fixes PR1594
[oota-llvm.git] / lib / Transforms / Utils / LowerSelect.cpp
index 09eb4135b6d39520f3e5258665725fd8ee4c0454..317e84aa96f345e146c0668d86df67a0df4674d7 100644 (file)
@@ -33,8 +33,8 @@ namespace {
   class VISIBILITY_HIDDEN LowerSelect : public FunctionPass {
     bool OnlyFP;   // Only lower FP select instructions?
   public:
-    static char ID; // Pass identifcation, replacement for typeid
-    LowerSelect(bool onlyfp = false) : FunctionPass((intptr_t)&ID), 
+    static char ID; // Pass identification, replacement for typeid
+    explicit LowerSelect(bool onlyfp = false) : FunctionPass((intptr_t)&ID), 
       OnlyFP(onlyfp) {}
 
     virtual void getAnalysisUsage(AnalysisUsage &AU) const {