mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35179 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a33714dcd
commit
95da121395
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user