[PATCH] D15385: [Support] Add saturating multiply-add support function

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 19:09:28 PST 2015


silvas added a comment.

> it is probably just slightly more efficient so probably not in this patch.


If we are looking to improve efficiency, the clearest improvement to make is to use `__builtin_*_with_overflow` which will dramatically reduce the cost since we can directly use the processor flags instead of using some explicit calculation.


http://reviews.llvm.org/D15385





More information about the llvm-commits mailing list