[PATCH] D87870: [GISel] Add new combines for G_FMUL

Rahul Joshi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 17:41:26 PDT 2020


jurahul added inline comments.


================
Comment at: llvm/include/llvm/Target/GlobalISel/Combine.td:299
+// Fold (x op 0.0) - > 0.0
+def binop_right_to_fp_zero: GICombineRule<
+  (defs root:$root),
----------------
Sorry to comment on a change that I know nothing about, but ts this somewhere checking if fast math or equivalent is enabled? Otherwise, X * 0.0 != 0.0 in floating point. 


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

https://reviews.llvm.org/D87870



More information about the llvm-commits mailing list