[PATCH] D17141: [ARM] Adding IEEE-754 SIMD detection to loop vectorizer
Renato Golin via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 12 11:03:08 PST 2016
rengolin added a comment.
In http://reviews.llvm.org/D17141#351589, @resistor wrote:
> That's not correct for all platforms. Darwin, for example, uses NEON for floating point even in non-fast-math mode. The platform is simply defined not to support subnormals.
Well, NEON denormal behaviour is independent of the OS running underneath, so this is the correct information. But it may not be the best decision for Darwin, and that's a separate story.
Can you always add a fast-math flag on Darwin builds in the front-end? Or maybe have another CC1 option to control SIMD use?
I don't think adding isDarwin() to the TTI makes any sense.
cheers,
--renato
Repository:
rL LLVM
http://reviews.llvm.org/D17141
More information about the llvm-commits
mailing list