Purely a style comment; I havent looked at the technical content of the patch. Function names begin w/ lower case. Check the llvm coding guidelines for details. For example, JoinHalfWords() should be joinHalfWords(). -Jim http://reviews.llvm.org/D3380