Thanks to Eric Christopher for the tips on the appropriate way to do this. llvm-svn: 194282
llvm-svn: 193819
Originally implemented by Lang Hames. llvm-svn: 193811