This is the mail archive of the gcc-patches@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: [RFC] [autovect patch] Implement vectorization hints


Hello,

basing the implementation of this idea on source line numbers is a sure
way to hell.  You probably cannot do much better in the very early
stages.  But after optimization passes, line numbers are generally very
unreliable.  In particular the node that you take in the
vect_pragma_lookup function may have been moved there by some code
motion optimization from elsewhere.  Or the loop itself could be created
by some optimization (jump threading may do it sometimes).  And these
are just those that occured to me, I am fairly sure there are more.

Zdenek


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