InstCombine: Don't miscompile (x lshr C1) udiv C2
[oota-llvm.git] / include / llvm / ADT / APInt.h
index f815628f30c71dbc3cec909a979b9ab5ca2ffc4f..4d19bab13f43b1f66547830b07f19caa6392b359 100644 (file)
@@ -945,7 +945,8 @@ public:
   APInt sdiv_ov(const APInt &RHS, bool &Overflow) const;
   APInt smul_ov(const APInt &RHS, bool &Overflow) const;
   APInt umul_ov(const APInt &RHS, bool &Overflow) const;
-  APInt sshl_ov(unsigned Amt, bool &Overflow) const;
+  APInt sshl_ov(const APInt &Amt, bool &Overflow) const;
+  APInt ushl_ov(const APInt &Amt, bool &Overflow) const;
 
   /// \brief Array-indexing support.
   ///