https://github.com/arsenm requested changes to this pull request. I am opposed to adding new intrinsics that are only lowered to a libcall. If there is not an inline expansion implemented, this should not be added https://github.com/llvm/llvm-project/pull/178396