forked from OSchip/llvm-project
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:
parent
732f0a838e
commit
568b8b54dc
|
@ -151,7 +151,7 @@ class APInt {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// @brief Create a new APInt of numBits width, initialized as val.
|
/// @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
|
/// Note that numWords can be smaller or larger than the corresponding bit
|
||||||
/// width but any extraneous bits will be dropped.
|
/// width but any extraneous bits will be dropped.
|
||||||
|
|
Loading…
Reference in New Issue