[PATCH] D28405: SimplifyLibCalls: Replace fabs libcalls with intrinsics
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 6 11:34:35 PST 2017
arsenm created this revision.
arsenm added a reviewer: efriedma.
arsenm added a subscriber: llvm-commits.
Herald added a subscriber: wdng.
Add missing fabs(fpext) optimzation that worked with the call,
and also fixes it creating a second fpext when there were multiple
uses.
https://reviews.llvm.org/D28405
Files:
include/llvm/IR/PatternMatch.h
lib/Transforms/InstCombine/InstCombineCalls.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/double-float-shrink-2.ll
test/Transforms/InstCombine/fabs.ll
test/Transforms/InstCombine/float-shrink-compare.ll
test/Transforms/InstCombine/pow-1.ll
test/Transforms/InstCombine/win-math.ll
test/Transforms/InstCombine/zero-point-zero-add.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28405.83393.patch
Type: text/x-patch
Size: 10038 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170106/c3165799/attachment.bin>
More information about the llvm-commits
mailing list