[X86] Enable constexpr on ROTL/ROTR intrinsics (PR31446)
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 23 Aug 2020 15:11:39 +0000 (16:11 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Sun, 23 Aug 2020 15:11:58 +0000 (16:11 +0100)
commita1dc3d241ba00042b6160287f887d1019e36bae0
treedf9e61b1607870bc68b70b08727a65e4adedbc14
parent2843c9fe0a50470d231a4c29540c46aa631295d8
[X86] Enable constexpr on ROTL/ROTR intrinsics (PR31446)

This enables constexpr rotate intrinsics defined in ia32intrin.h, including the MS specific builtins.
clang/docs/LanguageExtensions.rst
clang/docs/ReleaseNotes.rst
clang/lib/AST/ExprConstant.cpp
clang/lib/Headers/ia32intrin.h
clang/test/CodeGen/rot-intrinsics.c