================
@@ -267,7 +267,8 @@ let Header = "emmintrin.h", Attributes = [NoThrow,
RequireDeclaration] in {
def _mm_pause : X86LibBuiltin<"void()">;
}
-let Features = "sse2", Attributes = [NoThrow, Const, RequiredVectorWidth<128>]
in {
+let Features = "sse2",
+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128>] in {
----------------
RKSimon wrote:
You can only add the constexpr attribute to the byteshift intrinsics - better
to move the byteshift declarations into the constexor below (psrldi128 et al.)
https://github.com/llvm/llvm-project/pull/157403
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits