eugenis added a comment. Good point. AArch64 implementation actually needs to insert instructions for the intrinsic call. I guess we keep IRBuilder then, or replace it with Instruction *InsertBefore argument. Repository: rL LLVM http://reviews.llvm.org/D18632