[PATCH] D28405: SimplifyLibCalls: Replace fabs libcalls with intrinsics

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 9 12:16:16 PST 2017


arsenm added inline comments.


================
Comment at: test/Transforms/InstCombine/double-float-shrink-2.ll:91
+  ; --> fabsf
+  %E = call fast double @fabs(double %D)
+  %F = fptrunc double %E to float
----------------
efriedma wrote:
> We allow putting fast-math flags on arbitrary calls...?  Please update LangRef with an explanation of what this means.
FMF on calls was added in r255555


https://reviews.llvm.org/D28405





More information about the llvm-commits mailing list