This reverts commit 92146ce399cdb26c3a9aa4d68af8cacb7c1c0fef. The original commit is from 2019, but we were unable to ship this change in clang in Xcode due to the issue explained below, so we would like to upstream the revert of this commit to help our clients test their build with upstream clang.
This commit broke users targeting LP64 (e.g. Microsoft's build of office for macOS) systems that expect these
intrinsics to match the MSVC behavior of working on 32 bit integers.
These users use a LONG macro which is defined as long on Windows
(LLP64), and int when targeting LP64 systems. Without this behavior
there is no intrinsic for 32 bit rotates on these platforms.