HomePhabricator

[BPI] Adjust the probability for floating point unordered comparison

Authored by Carrot on Sep 10 2019, 10:25 AM.

Description

[BPI] Adjust the probability for floating point unordered comparison

Since NaN is very rare in normal programs, so the probability for floating point unordered comparison should be extremely small. Current probability is 3/8, it is too large, this patch changes it to a tiny number.

Differential Revision: https://reviews.llvm.org/D65303

llvm-svn: 371541

Details

Committed
CarrotSep 10 2019, 10:25 AM
Differential Revision
D65303: [BPI] Adjust the probability for floating point unordered comparison
Parents
rGe1895aba3da0: AMDGPU/GlobalISel: Select G_FABS/G_FNEG
Branches
Unknown
Tags
Unknown