Remove unneeded PHI barrier for reassociation of duplicate ops.

This commit is contained in:
Mike Pall 2011-10-10 20:35:42 +02:00
parent 76a2a7c857
commit f34ac81e3a

View File

@ -1450,7 +1450,6 @@ LJFOLD(BAND BAND any)
LJFOLD(BOR BOR any) LJFOLD(BOR BOR any)
LJFOLDF(reassoc_dup) LJFOLDF(reassoc_dup)
{ {
PHIBARRIER(fleft);
if (fins->op2 == fleft->op1 || fins->op2 == fleft->op2) if (fins->op2 == fleft->op1 || fins->op2 == fleft->op2)
return LEFTFOLD; /* (a o b) o a ==> a o b; (a o b) o b ==> a o b */ return LEFTFOLD; /* (a o b) o a ==> a o b; (a o b) o b ==> a o b */
return NEXTFOLD; return NEXTFOLD;