Add an indication of signedness to the uint64_t constructor so sign bits

can be extended. This helps fix test/Assembler/2007-03-19-NegValue.ll

llvm-svn: 35179
This commit is contained in:
Reid Spencer 2007-03-19 20:36:48 +00:00
parent 732f0a838e
commit 568b8b54dc
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ class APInt {
public:
/// @brief Create a new APInt of numBits width, initialized as val.
APInt(uint32_t numBits, uint64_t val);
APInt(uint32_t numBits, uint64_t val, bool isSigned = false);
/// Note that numWords can be smaller or larger than the corresponding bit
/// width but any extraneous bits will be dropped.