You have extra whitespace cleanups in a couple of files, please remove those before committing. Are you going to fix the TargetLoweringBase constructor to no longer need both arguments since the TM can get everything in a follow up commit or would you like to do that as part of this? http://reviews.llvm.org/D5850