https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78604

--- Comment #7 from amker at gcc dot gnu.org ---
(In reply to Michael Meissner from comment #6)
> Unless -ffast-math or -fno-honor-nans is used, you cannot invert < to >=,
> because you will get a different result if either operand is a NaN. 
> However, the basic code for vector compares hasn't changed much since the
> early power7 days.

I don't know details in power.  Though it's vectorized instruction, it has
integer inner type.  That's why the "<" is converted to ">=" in tree-ifcvt just
before vectorizer.  Is it safe to transform in this case?  Thanks.

Reply via email to