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] | |
My code would handle the RHSs of these assignments as inputs.My patch handles code which is different in the then/else branches, as long as everything is an assignment to a pseudo-register.
In
particular, the then/else branches can set different registers.
That is something not covered by my patch. It would require extra data structures to describe where such sets are.
IMy code could easily be adopted to allow a wider range of possible inputs for
initially only handled the case of constant or register inputs, but
it's relatively straightforward to extend to general operands, which
need not be the same in the then/else branches, with more careful
checking of which code affects which other code.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |