[llvm-commits] CVS: llvm/include/llvm/ADT/APInt.h
Reid Spencer
reid at x10sys.com
Mon Mar 19 13:37:05 PDT 2007
Changes in directory llvm/include/llvm/ADT:
APInt.h updated: 1.43 -> 1.44
---
Log message:
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
---
Diffs of the changes: (+1 -1)
APInt.h | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/include/llvm/ADT/APInt.h
diff -u llvm/include/llvm/ADT/APInt.h:1.43 llvm/include/llvm/ADT/APInt.h:1.44
--- llvm/include/llvm/ADT/APInt.h:1.43 Mon Mar 19 00:22:18 2007
+++ llvm/include/llvm/ADT/APInt.h Mon Mar 19 15:36:48 2007
@@ -151,7 +151,7 @@
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.
More information about the llvm-commits
mailing list