lattner added a comment. I'm not a comptent reviewer on the details for this whole patch, but the general intrinsic approach LGTM! CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68203/new/ https://reviews.llvm.org/D68203