[lno] [RFC] if-conversion and auto vectorizer
Andrew Pinski
pinskia@physics.uc.edu
Thu Mar 4 20:12:00 GMT 2004
There are already some if-conversions on the tree-ssa right now, they
are
called PHI OPTs and in tree-ssa-phiopt.c, I am trying to add some more
right
now but they most likely will be added to the LNO branch after an other
merge from the tree-ssa branch.
Right now on the tree-ssa the following optimization is done:
if (a == b) 1 else 0 into a == b
Right now I add the following:
if (a >= 0) a else -a into ABS (a).
if (a != b) a else b into a.
I will also be doing the following soon (after MIN/MAX becomes gimple
which has already be discussed and approved):
if (a >= b) a else b into MAX (a, b)
if (a <= b) a else b into MIN (a, b).
But I have not thought about the if-conversions which you are asking
for yet.
Thanks,
Andrew Pinski
More information about the Gcc
mailing list