[PATCH] D57359: [GlobalISel] Introduce a G_FSQRT generic instruction

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 30 10:40:28 PST 2019


arsenm added inline comments.


================
Comment at: include/llvm/Target/GenericOpcodes.td:573
+// Floating point square root of a value.
+// NOTE: Unlike libm sqrt(), this never sets errno.
+def G_FSQRT : GenericInstruction {
----------------
Should also mention it returns NAN for < 0


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

https://reviews.llvm.org/D57359





More information about the llvm-commits mailing list