summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2019-06-29 14:28:54 +0000
committerSanjay Patel <spatel@rotateright.com>2019-06-29 14:28:54 +0000
commit77dc1e85683c585a08982af745f07647624eda1b (patch)
tree3ca036c1b1d586b3e5b116a95d7e761fc1c80a64 /lldb/packages/Python/lldbsuite
parent61a8b62b4c961f25410fc126880befdf85424ea1 (diff)
downloadbcm5719-llvm-77dc1e85683c585a08982af745f07647624eda1b.tar.gz
bcm5719-llvm-77dc1e85683c585a08982af745f07647624eda1b.zip
[InstCombine] canonicalize fmin/fmax to LLVM intrinsics minnum/maxnum
This transform came up in D62414, but we should deal with it first. We have LLVM intrinsics that correspond exactly to libm calls (unlike most libm calls, these libm calls never set errno). This holds without any fast-math-flags, so we should always canonicalize to those intrinsics directly for better optimization. Currently, we convert to fcmp+select only when we have FMF (nnan) because fcmp+select does not preserve the semantics of the call in the general case. Differential Revision: https://reviews.llvm.org/D63214 llvm-svn: 364714
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud