[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:11:20 PST 2017


arsenm added inline comments.


================
Comment at: lib/Transforms/InstCombine/InstCombineCalls.cpp:1646
+      NewFabs->takeName(II);
+      return new FPExtInst(NewFabs, II->getType());
+    }
----------------
efriedma wrote:
> Do we need to preserve fast-math flags here?
I don't think fpext supports fast math flags


https://reviews.llvm.org/D28405





More information about the llvm-commits mailing list