A plan for eliminating cc0
Zack Weinberg
zack@codesourcery.com
Thu Mar 24 20:35:00 GMT 2005
Ian Lance Taylor <ian@airs.com> writes:
> 3) Write a new CC0 collapse pass. This pass is run immediately
> after RTL expansion. It walks the instruction stream looking for
> instructions which set and use CC_REG. At this point these
> instructions will always be adjacent. The pass combines them into
> the combined instruction defined in step 2c above.
I'm not understanding why this is a separate pass, instead of
generating the combined instructions directly in the expander. I
think generic expander support for compare-and-branch instructions
already exists...
zw
More information about the Gcc
mailing list