diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-06-15 07:54:40 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2023-07-12 13:14:05 -0400 |
commit | 6ed48ebf2e80c3ada88b95c0122ead24c4cd4f29 (patch) | |
tree | b7345f2b668f17c8645378555cd8e42f7ffb7939 /llvm/lib/CodeGen/CommandFlags.cpp | |
parent | 05f0de3d74e97b594da99225a7a0b44e6ea1f3b1 (diff) | |
download | llvm-6ed48ebf2e80c3ada88b95c0122ead24c4cd4f29.zip llvm-6ed48ebf2e80c3ada88b95c0122ead24c4cd4f29.tar.gz llvm-6ed48ebf2e80c3ada88b95c0122ead24c4cd4f29.tar.bz2 |
ValueTracking: Recognize fpclass clamping select patterns
Improve computeKnownFPClass select handling to cover the case where
the condition performs a class test. This allows us to recognize
no-nans in cases like:
%not.nan = fcmp ord float %x, 0.0
%select = select i1 %not.nan, float %x, float 0.0
Math library code has similar edge case filtering on the inputs and
final results.
https://reviews.llvm.org/D153089
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
0 files changed, 0 insertions, 0 deletions