[PATCH] D24011: [ConstantFold] Add a flag for ppc_fp128 constant folding, since APFloat doesn't support double-double semantic

Hubert Tong via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 14:04:20 PDT 2016

hubert.reinterpretcast added a subscriber: hubert.reinterpretcast.
hubert.reinterpretcast added a comment.

In https://reviews.llvm.org/D24011#529508, @timshen wrote:

> If there seems to be few applications are depending on this optimization, I wonder if we can turn off the constant folding for now, and fix APFloat later if someone really cares about it?

Just wanted to note that the front-end would still encounter the issue with APFloat, and I would be concerned if the (front-end) constant expression evaluation for ppc_fp128 is disabled entirely.


More information about the llvm-commits mailing list