[PATCH] D111085: [FPEnv][InstSimplify] Fold constrained X + -0.0 ==> X
Serge Pavlov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 4 22:49:14 PDT 2021
sepavloff accepted this revision.
sepavloff added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: llvm/lib/Analysis/InstructionSimplify.cpp:4930
+// TODO: Move this out to a header file:
+static inline bool canIgnoreSNaN(fp::ExceptionBehavior EB, FastMathFlags FMF) {
----------------
Why not moving this function into header file in this patch? May be to `FPEnv.h`. You need this function in D107285.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111085/new/
https://reviews.llvm.org/D111085
More information about the llvm-commits
mailing list