[llvm-dev] Vectorization with fast-math on irregular ISA sub-sets
Renato Golin via llvm-dev
llvm-dev at lists.llvm.org
Mon Feb 8 12:51:36 PST 2016
On 8 February 2016 at 19:25, James Molloy <James.Molloy at arm.com> wrote:
>> For 16275, the fix is to disable loop vect. for no-fast-math + hasUnsafeAlgebra.
> Do you think there is a set of people that care about IEEE accuracy in so far that they don't want FTZ, but *are* happy to reassociate FP operations? That seems fairly niche to me?
No. But I also don't want to disable the vectorizer for integer
arithmetic. I'm guessing hasUnsafeAlgebra is not just for FZ but also
NaNs and Infs, so disabling the vectorization of loops that have any
of those unless safe-math is chosen seems simple enough to me.
More information about the llvm-dev