[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:19:24 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
----------------
arsenm wrote:
> 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
This seems to already be noted in the langref for call


https://reviews.llvm.org/D28405





More information about the llvm-commits mailing list