@@ -2502,24 +2502,28 @@ let Features = "avx512vl", Attributes = [NoThrow, Const, RequiredVectorWidth<256
25022502 def rsqrt14ps256_mask : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, unsigned char)" >;
25032503}
25042504
2505- let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2505+ let Features = " avx512bw" ,
2506+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
25062507 def cvtb2mask512 : X86Builtin<" unsigned long long int(_Vector<64, char>)" >;
25072508 def cvtmask2b512 : X86Builtin<" _Vector<64, char>(unsigned long long int)" >;
25082509 def cvtmask2w512 : X86Builtin<" _Vector<32, short>(unsigned int)" >;
25092510}
25102511
2511- let Features = " avx512dq" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2512+ let Features = " avx512dq" ,
2513+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
25122514 def cvtd2mask512 : X86Builtin<" unsigned short(_Vector<16, int>)" >;
25132515 def cvtmask2d512 : X86Builtin<" _Vector<16, int>(unsigned short)" >;
25142516 def cvtmask2q512 : X86Builtin<" _Vector<8, long long int>(unsigned char)" >;
25152517 def cvtq2mask512 : X86Builtin<" unsigned char(_Vector<8, long long int>)" >;
25162518}
25172519
2518- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2520+ let Features = " avx512bw,avx512vl" ,
2521+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
25192522 def cvtb2mask128 : X86Builtin<" unsigned short(_Vector<16, char>)" >;
25202523}
25212524
2522- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2525+ let Features = " avx512bw,avx512vl" ,
2526+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
25232527 def cvtb2mask256 : X86Builtin<" unsigned int(_Vector<32, char>)" >;
25242528}
25252529
@@ -2539,11 +2543,13 @@ let Features = "avx512bw,avx512vl", Attributes = [NoThrow, Const, RequiredVector
25392543 def cvtmask2w256 : X86Builtin<" _Vector<16, short>(unsigned short)" >;
25402544}
25412545
2542- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2546+ let Features = " avx512dq,avx512vl" ,
2547+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
25432548 def cvtd2mask128 : X86Builtin<" unsigned char(_Vector<4, int>)" >;
25442549}
25452550
2546- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2551+ let Features = " avx512dq,avx512vl" ,
2552+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
25472553 def cvtd2mask256 : X86Builtin<" unsigned char(_Vector<8, int>)" >;
25482554}
25492555
@@ -2563,11 +2569,13 @@ let Features = "avx512dq,avx512vl", Attributes = [NoThrow, Const, RequiredVector
25632569 def cvtmask2q256 : X86Builtin<" _Vector<4, long long int>(unsigned char)" >;
25642570}
25652571
2566- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2572+ let Features = " avx512dq,avx512vl" ,
2573+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
25672574 def cvtq2mask128 : X86Builtin<" unsigned char(_Vector<2, long long int>)" >;
25682575}
25692576
2570- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2577+ let Features = " avx512dq,avx512vl" ,
2578+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
25712579 def cvtq2mask256 : X86Builtin<" unsigned char(_Vector<4, long long int>)" >;
25722580}
25732581
@@ -3361,15 +3369,18 @@ let Features = "avx512vl", Attributes = [NoThrow, Const, RequiredVectorWidth<256
33613369 def vcvtps2ph256_mask : X86Builtin<" _Vector<8, short>(_Vector<8, float>, _Constant int, _Vector<8, short>, unsigned char)" >;
33623370}
33633371
3364- let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
3372+ let Features = " avx512bw" ,
3373+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
33653374 def cvtw2mask512 : X86Builtin<" unsigned int(_Vector<32, short>)" >;
33663375}
33673376
3368- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
3377+ let Features = " avx512bw,avx512vl" ,
3378+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
33693379 def cvtw2mask128 : X86Builtin<" unsigned char(_Vector<8, short>)" >;
33703380}
33713381
3372- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
3382+ let Features = " avx512bw,avx512vl" ,
3383+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
33733384 def cvtw2mask256 : X86Builtin<" unsigned short(_Vector<16, short>)" >;
33743385}
33753386
0 commit comments