[PATCH] D121243: [InstCombine] Preserve FMF in foldLogicOfFCmps.

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 12:24:20 PST 2022


lebedev.ri added a comment.

https://llvm.org/docs/LangRef.html#id306 says:

> Any set of fast-math flags are legal on an fcmp instruction, but the only flags that have any effect on its semantics are those that allow assumptions to be made about the values of input arguments; namely nnan, ninf, and reassoc. See Fast-Math Flags for more information.

So please add tests with `reassoc`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D121243/new/

https://reviews.llvm.org/D121243



More information about the llvm-commits mailing list