Patch by: GuanHong Liu Differential Revision: http://reviews.llvm.org/D3888 llvm-svn: 209779
llvm-svn: 201393