This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: -ftree-vectorize can't vectorize plus?


Can these type casts (from uchar to schar and back) be cleaned away
by some pass before vectorization, or do we need to teach the vectorizer
to ignore such type casts?

This was considered as tree-combiner's responsibility. However, I do not know what is the current state and plan of tree-combiner pass. tree-combiner pass, along with other combining activites, will remove unnecessary cast (if possible).

-
Devang


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]