diff options
author | Dale Johannesen <dalej@apple.com> | 2007-09-14 22:26:36 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2007-09-14 22:26:36 +0000 |
commit | 9e3d3abd937c9bb79d56d25ec0e0724c7cbba67c (patch) | |
tree | c30fb34d6aa099b2c600d4a43088b7e99ef4e79b /include/llvm/ADT/APInt.h | |
parent | 24f2ea3971065eb9e88d50ebeddad0463337cae3 (diff) | |
download | llvm-9e3d3abd937c9bb79d56d25ec0e0724c7cbba67c.tar.gz llvm-9e3d3abd937c9bb79d56d25ec0e0724c7cbba67c.tar.bz2 llvm-9e3d3abd937c9bb79d56d25ec0e0724c7cbba67c.tar.xz |
Remove the assumption that FP's are either float or
double from some of the many places in the optimizers
it appears, and do something reasonable with x86
long double.
Make APInt::dump() public, remove newline, use it to
dump ConstantSDNode's.
Allow APFloats in FoldingSet.
Expand X86 backend handling of long doubles (conversions
to/from int, mostly).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/APInt.h')
-rw-r--r-- | include/llvm/ADT/APInt.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/llvm/ADT/APInt.h b/include/llvm/ADT/APInt.h index 9a5643bfc5..c6055dfc27 100644 --- a/include/llvm/ADT/APInt.h +++ b/include/llvm/ADT/APInt.h @@ -153,11 +153,6 @@ class APInt { const APInt &RHS, uint32_t rhsWords, APInt *Quotient, APInt *Remainder); -#ifndef NDEBUG - /// @brief debug method - void dump() const; -#endif - public: /// @name Constructors /// @{ @@ -1165,6 +1160,11 @@ public: static void tcSetLeastSignificantBits(integerPart *, unsigned int, unsigned int bits); +#ifndef NDEBUG + /// @brief debug method + void dump() const; +#endif + /// @} }; |