[PATCH] D14845: [Support] Fix SaturatingMultiply<T>() to never cause overflow, Re-enable Unit Tests

Nathan Slingerland via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 19 17:36:26 PST 2015


slingn added a comment.

https://llvm.org/bugs/show_bug.cgi?id=25580

Apparently not a bug with UBSan - there was a valid problem with signed integer overflow due to up-conversion of integer types with the previous implementation.


http://reviews.llvm.org/D14845





More information about the llvm-commits mailing list