@@ -2469,24 +2469,28 @@ let Features = "avx512vl", Attributes = [NoThrow, Const, RequiredVectorWidth<256
24692469 def rsqrt14ps256_mask : X86Builtin<" _Vector<8, float>(_Vector<8, float>, _Vector<8, float>, unsigned char)" >;
24702470}
24712471
2472- let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2472+ let Features = " avx512bw" ,
2473+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
24732474 def cvtb2mask512 : X86Builtin<" unsigned long long int(_Vector<64, char>)" >;
24742475 def cvtmask2b512 : X86Builtin<" _Vector<64, char>(unsigned long long int)" >;
24752476 def cvtmask2w512 : X86Builtin<" _Vector<32, short>(unsigned int)" >;
24762477}
24772478
2478- let Features = " avx512dq" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
2479+ let Features = " avx512dq" ,
2480+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
24792481 def cvtd2mask512 : X86Builtin<" unsigned short(_Vector<16, int>)" >;
24802482 def cvtmask2d512 : X86Builtin<" _Vector<16, int>(unsigned short)" >;
24812483 def cvtmask2q512 : X86Builtin<" _Vector<8, long long int>(unsigned char)" >;
24822484 def cvtq2mask512 : X86Builtin<" unsigned char(_Vector<8, long long int>)" >;
24832485}
24842486
2485- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2487+ let Features = " avx512bw,avx512vl" ,
2488+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
24862489 def cvtb2mask128 : X86Builtin<" unsigned short(_Vector<16, char>)" >;
24872490}
24882491
2489- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2492+ let Features = " avx512bw,avx512vl" ,
2493+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
24902494 def cvtb2mask256 : X86Builtin<" unsigned int(_Vector<32, char>)" >;
24912495}
24922496
@@ -2506,11 +2510,13 @@ let Features = "avx512bw,avx512vl", Attributes = [NoThrow, Const, RequiredVector
25062510 def cvtmask2w256 : X86Builtin<" _Vector<16, short>(unsigned short)" >;
25072511}
25082512
2509- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2513+ let Features = " avx512dq,avx512vl" ,
2514+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
25102515 def cvtd2mask128 : X86Builtin<" unsigned char(_Vector<4, int>)" >;
25112516}
25122517
2513- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2518+ let Features = " avx512dq,avx512vl" ,
2519+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
25142520 def cvtd2mask256 : X86Builtin<" unsigned char(_Vector<8, int>)" >;
25152521}
25162522
@@ -2530,11 +2536,13 @@ let Features = "avx512dq,avx512vl", Attributes = [NoThrow, Const, RequiredVector
25302536 def cvtmask2q256 : X86Builtin<" _Vector<4, long long int>(unsigned char)" >;
25312537}
25322538
2533- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
2539+ let Features = " avx512dq,avx512vl" ,
2540+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
25342541 def cvtq2mask128 : X86Builtin<" unsigned char(_Vector<2, long long int>)" >;
25352542}
25362543
2537- let Features = " avx512dq,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
2544+ let Features = " avx512dq,avx512vl" ,
2545+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
25382546 def cvtq2mask256 : X86Builtin<" unsigned char(_Vector<4, long long int>)" >;
25392547}
25402548
@@ -3328,15 +3336,18 @@ let Features = "avx512vl", Attributes = [NoThrow, Const, RequiredVectorWidth<256
33283336 def vcvtps2ph256_mask : X86Builtin<" _Vector<8, short>(_Vector<8, float>, _Constant int, _Vector<8, short>, unsigned char)" >;
33293337}
33303338
3331- let Features = " avx512bw" , Attributes = [NoThrow, Const, RequiredVectorWidth<512 >] in {
3339+ let Features = " avx512bw" ,
3340+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<512 >] in {
33323341 def cvtw2mask512 : X86Builtin<" unsigned int(_Vector<32, short>)" >;
33333342}
33343343
3335- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<128 >] in {
3344+ let Features = " avx512bw,avx512vl" ,
3345+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128 >] in {
33363346 def cvtw2mask128 : X86Builtin<" unsigned char(_Vector<8, short>)" >;
33373347}
33383348
3339- let Features = " avx512bw,avx512vl" , Attributes = [NoThrow, Const, RequiredVectorWidth<256 >] in {
3349+ let Features = " avx512bw,avx512vl" ,
3350+ Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256 >] in {
33403351 def cvtw2mask256 : X86Builtin<" unsigned short(_Vector<16, short>)" >;
33413352}
33423353
0 commit comments