[RFC] [autovect patch] Implement vectorization hints

Zdenek Dvorak rakdver@atrey.karlin.mff.cuni.cz
Mon Feb 28 06:51:00 GMT 2005


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



More information about the Gcc-patches mailing list