kschimpf abandoned this revision. kschimpf added a comment. Since the important parts of this revision (i.e. bug fixes) have been added as separate patches, and there doesn't appear to be consensus on the remaining portions, I closing this patch. http://reviews.llvm.org/D10518