[PATCH] D28484: SimplifyLibCalls: Replace more unary libcalls with intrinsics
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 15:11:38 PST 2017
efriedma added a comment.
For anyone else following along with a copy of IEEE 754, this is the roundToIntegral* family of functions.
Aren't llvm.rint() and llvm.nearbyint() precisely equivalent? We should probably get rid of llvm.rint()... (we can add it back once we actually start modeling FP exceptions).
================
Comment at: test/Transforms/InstCombine/win-math.ll:273
%3 = fptrunc double %2 to float
ret float %3
}
----------------
Windows doesn't have round()? Weird.
https://reviews.llvm.org/D28484
More information about the llvm-commits
mailing list