add ShouldChangeType() variant that takes bitwidths
[oota-llvm.git] / lib / Transforms / InstCombine / InstCombineInternal.h
index 9f5cdcbb32970a56824f60196262e72e40ea521f..dbaa5a88ee3fccabb9dd2a23e8c32490d4a2729c 100644 (file)
@@ -341,6 +341,7 @@ public:
                                  const unsigned SIOpd);
 
 private:
+  bool ShouldChangeType(unsigned FromBitWidth, unsigned ToBitWidth) const;
   bool ShouldChangeType(Type *From, Type *To) const;
   Value *dyn_castNegVal(Value *V) const;
   Value *dyn_castFNegVal(Value *V, bool NoSignedZero = false) const;