joerg added a comment. I agree. If the CPU has it, it will be beneficial. If it doesn't, it is only a useful transformation if the intrinsic can be constant folded. Repository: rL LLVM https://reviews.llvm.org/D32605