This is the mail archive of the gcc@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: [tree-ssa] where to fix this?


In message <FFCAFC47-40A3-11D8-8CD1-000A95DA505C@dberlin.org>, Daniel Berlin wr
ites:
 >> When we follow def-use chains in the dominator optimizer to reassociate
 >> and simplify operands.  The stuff we do right now is pretty simple, but
 >> it's one of the two areas of the dominator optimizer that I do expect
 >> will need to be extended.
 >>
 >
 >I tried a variant on this back right before we had renaming SSA.
 >It was a forward and backward substitution pass, which tried to see if 
 >any of the resulting expressions were GIMPLE (after trying folding, of 
 >course).
 >They never were.
Apparently your code was buggy or you weren't looking at the right stuff.

I've definitely got cases where were substitution & folding results in
a gimple expression.

jeff




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