This presentation will given an overview over some of the issues that need to be addressed in the design and implementation of the hardware-generating back-end of a hardware/software compiler. COMRADE is a compile flow that aims to map programs formulated in standard ANSI C to an adaptive computer, such that compute-intensive parts are accelerated on a reconfigurable compute unit, while less critical or unsuitable parts are executed on a standard processor. The talk shows some of the techniques that are used in the COMRADE back-end.