[PATCH] D65303: [BPI] Adjust the probability for floating point unordered comparison

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 13:55:19 PDT 2019


Carrot added a comment.

isnan() is lowered to fcmp uno, in this case the taken probability may be higher, but still much smaller than ordered result, and the usage of isnan() is already very rare, most of uno comparisons are generated from different math library functions.
On the other side I guess most of the taken uno comparisons in a correct program comes from explicitly isnan() call.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D65303/new/

https://reviews.llvm.org/D65303





More information about the llvm-commits mailing list