[PATCH] D18528: Don't fold double constant to an integer if dest type not integral

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 31 07:15:23 PDT 2016


tejohnson added a comment.

In http://reviews.llvm.org/D18528#387557, @ab wrote:

> Yeah, I know :/
>  Looking at the history of ConstantFold.cpp, most changes seem to add a test to the relevant transform directory.  The closest to dedicated tests seem to be Assembler/ConstantExpr*Fold*.ll.


Moved it to test/Assembler. Let me know if it looks ok now. Thanks!


http://reviews.llvm.org/D18528





More information about the llvm-commits mailing list