[PATCH] D11144: ConstantFolding- Trunc, rint and nearbyint

Chakshu Grover chakshu.gro at samsung.com
Thu Jul 16 05:43:17 PDT 2015


chakshugrover updated this revision to Diff 29891.
chakshugrover added a comment.

As discussed, I have implemented trunc, float, ceil in terms of llvm::APFloat API but for implementing rint and nearbyint, I require the knowledge of current rounding mode. Can you please suggest?
Thanks and Regards


http://reviews.llvm.org/D11144

Files:
  lib/Analysis/ConstantFolding.cpp
  test/Transforms/InstCombine/intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11144.29891.patch
Type: text/x-patch
Size: 3760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150716/6a2c7133/attachment.bin>


More information about the llvm-commits mailing list