[Bug target/31334] Bad codegen for vector initializer with constants prop'd into a vector initializer
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Mar 25 07:12:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-03-25 09:11 -------
Here is a reduced testcase which shows the same issue:
#define vector __attribute__((__vector_size__(16) ))
vector int f()
{
int t = 4;
return (vector int){t,t,t,t};
}
vector int f1()
{
return (vector int){4,4,4,4};
}
----------------- cut -----------------
These above functions should have the same code gen but they don't.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Bad codegen for vectorized |Bad codegen for vector
|induction with altivec |initializer with constants
| |prop'd into a vector
| |initializer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31334
More information about the Gcc-bugs
mailing list