Renato, it's not clear to me what are the gains from this patch? It seems to move proper target-specific code into somehow hacky target-somehow-independent one... http://llvm-reviews.chandlerc.com/D1575