[PATCH] D14590: [SimplifyLibCalls] Constant folding for fls, flsl, flsll
Davide Italiano via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 14 19:50:04 PST 2016
davide updated this revision to Diff 81523.
davide added a comment.
Herald added subscribers: mehdi_amini, emaste.
1. Fix TargetLibraryInfo prototype checking
2. make the transform correct with `flsl()` and `flsll()`
3. Remove now unneeded call to `checkIntUnaryReturnAndParam()`
https://reviews.llvm.org/D14590
Files:
include/llvm/Transforms/Utils/SimplifyLibCalls.h
lib/Analysis/TargetLibraryInfo.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
test/Transforms/InstCombine/fls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14590.81523.patch
Type: text/x-patch
Size: 3326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161215/dbe89fa2/attachment.bin>
More information about the llvm-commits
mailing list