Changes in directory llvm/include/llvm:
Constants.h updated: 1.138 -> 1.139 --- Log message: Allow ConstantInt::get(Ty, uint64_t) to interpret the 64-bit values as a negative number. This is needed to fix test/Assembler/2007-03-19-NegValue.ll --- Diffs of the changes: (+1 -1) Constants.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/Constants.h diff -u llvm/include/llvm/Constants.h:1.138 llvm/include/llvm/Constants.h:1.139 --- llvm/include/llvm/Constants.h:1.138 Thu Mar 1 18:27:06 2007 +++ llvm/include/llvm/Constants.h Mon Mar 19 15:39:08 2007 @@ -94,7 +94,7 @@ /// either getSExtValue() or getZExtValue() will yield a correctly sized and /// signed value for the type Ty. /// @brief Get a ConstantInt for a specific value. - static ConstantInt *get(const Type *Ty, uint64_t V); + static ConstantInt *get(const Type *Ty, uint64_t V, bool isSigned = false); /// Return a ConstantInt with the specified value and an implied Type. The /// type is the integer type that corresponds to the bit width of the value. _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits