nhaehnle accepted this revision. nhaehnle added a comment. This revision is now accepted and ready to land. You're right, on second thought the existing intrinsic has the same problem. So this is still a strict improvement. https://reviews.llvm.org/D38544