Always compute all the bits in ComputeMaskedBits.
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombine.h
index 464e9d0a6101e695c248ec40803e9b8056a4af04..199df519ce07827f260934fe53c6459984f89744 100644 (file)
@@ -291,9 +291,9 @@ public:
     return 0;  // Don't do anything with FI
   }
       
-  void ComputeMaskedBits(Value *V, const APInt &Mask, APInt &KnownZero,
+  void ComputeMaskedBits(Value *V, APInt &KnownZero,
                          APInt &KnownOne, unsigned Depth = 0) const {
-    return llvm::ComputeMaskedBits(V, Mask, KnownZero, KnownOne, TD, Depth);
+    return llvm::ComputeMaskedBits(V, KnownZero, KnownOne, TD, Depth);
   }
   
   bool MaskedValueIsZero(Value *V, const APInt &Mask,