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: [PATCH] tree level if-conversion for vectorizer



On Aug 30, 2004, at 11:36 PM, Richard Henderson wrote:


	if (COND)
		A[i] = x;

do you think, we should introduce temp. here, like

	t = A[i];
	if (COND)
		t = x;
	A[i] = t;

For a conditional store, you must either do this or fail the transform. There are no other alternatives.

Right now, I'll fail to transform it using TREE_CODE (lhs) == SSA_NAME check.

-
Devang


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