[clang] [Headers][X86] Allow MMX/SSE/AVX MOVMSK intrinsics to be used in constexpr (PR #161914)
Simon Pilgrim via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 6 01:02:02 PDT 2025
================
@@ -181,7 +181,8 @@ let Features = "sse", Attributes = [NoThrow, Const, RequiredVectorWidth<128>] in
def cvttss2si : X86Builtin<"int(_Vector<4, float>)">;
}
-let Features = "sse", Attributes = [NoThrow, RequiredVectorWidth<128>] in {
+let Features = "sse",
+ Attributes = [NoThrow, Constexpr, RequiredVectorWidth<128>] in {
----------------
RKSimon wrote:
Const, Constexpr?
https://github.com/llvm/llvm-project/pull/161914
More information about the cfe-commits
mailing list