[Bug tree-optimization/45021] Redundant prefetches for some loops (vectorizer produced ones too)

changpeng dot fang at amd dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 28 18:28:00 GMT 2010



------- Comment #5 from changpeng dot fang at amd dot com  2010-07-28 18:28 -------
Thing is a little complicate if we change the code to:

a[i] = a[i+1] + beta * b[i];

The prefetch pass want to group a[i] and a[i+1], i.e. they have
the same base address with an offset of 4 bytes.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45021



More information about the Gcc-bugs mailing list