[PATCH] D116702: [GlobalISel] Combine select + fcmp to fminnum/fmaxnum/fminimum/fmaximum

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 10:13:58 PST 2022


tschuett added inline comments.


================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/CombinerHelper.h:752
+  /// non-NaN as input.
+  enum SelectPatternNaNBehaviour {
+    NOT_APPLICABLE = 0, /// NaN behavior not applicable.
----------------
I prefer `enum class` for new code, but it is up to you.


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

https://reviews.llvm.org/D116702



More information about the llvm-commits mailing list