This is an archive of the discontinued LLVM Phabricator instance.

[FPEnv][InstSimplify] Fold fadd X, Inf ==> Inf
Needs ReviewPublic

Authored by kpn on Mar 3 2023, 12:37 PM.

Details

Summary

Currently the fadd support in InstSimplify doesn't know how to fold to infinity when dealing with the constrained intrinsics. This adds the support.

Diff Detail

Event Timeline

kpn created this revision.Mar 3 2023, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2023, 12:37 PM
kpn requested review of this revision.Mar 3 2023, 12:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2023, 12:37 PM