================
@@ -2164,6 +2164,13 @@ void APInt::fromString(unsigned numbits, StringRef str, 
uint8_t radix) {
 void APInt::toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
                      bool formatAsCLiteral, bool UpperCase,
                      bool InsertSeparators) const {
+  toStringTruncated(Str, Radix, Signed, false, formatAsCLiteral, UpperCase,
----------------
erichkeane wrote:

IS there ANY perf hit whatsoever for doing this?  We're doing quite a bit of 
work on what is perhaps a hot-ish path, can you run the compiler perf tester 
thing on this?  @Endilll knows how if you don't.

https://github.com/llvm/llvm-project/pull/145053
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to