The patch is huge and has too many ifdefs. It will have some time for us to review and will be very costly to maintain. So, before we continue with review I would like to hear the motivation and whether you are welling to help us maintain this code in future (= set up a public build bot) http://reviews.llvm.org/D3464