[PATCH] D19178: Broaden FoldItoFPtoI to try and establish whether the integer value fits into the float type

Carlos Liam via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 30 17:32:42 PDT 2016


aarzee added a comment.

Attached are a Python test script (best run in PyPy) and C++ testing program that work together to exhaustively verify this code for a given floating point format. See the comments in either file. F2234022: floattest.cpp <https://reviews.llvm.org/F2234022> F2234023: ftg2.py <https://reviews.llvm.org/F2234023>


https://reviews.llvm.org/D19178





More information about the llvm-commits mailing list