@@ -3148,28 +3148,28 @@ let Features = "avx512bw", Attributes = [NoThrow, Const, Constexpr] in {
31483148 def kxordi : X86Builtin<" unsigned long long int(unsigned long long int, unsigned long long int)" >;
31493149}
31503150
3151- let Features = " avx512dq" , Attributes = [NoThrow, Const] in {
3151+ let Features = " avx512dq" , Attributes = [NoThrow, Const, Constexpr ] in {
31523152 def kshiftliqi : X86Builtin<" unsigned char(unsigned char, _Constant unsigned int)" >;
31533153}
31543154
3155- let Features = " avx512f" , Attributes = [NoThrow, Const] in {
3155+ let Features = " avx512f" , Attributes = [NoThrow, Const, Constexpr ] in {
31563156 def kshiftlihi : X86Builtin<" unsigned short(unsigned short, _Constant unsigned int)" >;
31573157}
31583158
3159- let Features = " avx512bw" , Attributes = [NoThrow, Const] in {
3159+ let Features = " avx512bw" , Attributes = [NoThrow, Const, Constexpr ] in {
31603160 def kshiftlisi : X86Builtin<" unsigned int(unsigned int, _Constant unsigned int)" >;
31613161 def kshiftlidi : X86Builtin<" unsigned long long int(unsigned long long int, _Constant unsigned int)" >;
31623162}
31633163
3164- let Features = " avx512dq" , Attributes = [NoThrow, Const] in {
3164+ let Features = " avx512dq" , Attributes = [NoThrow, Const, Constexpr ] in {
31653165 def kshiftriqi : X86Builtin<" unsigned char(unsigned char, _Constant unsigned int)" >;
31663166}
31673167
3168- let Features = " avx512f" , Attributes = [NoThrow, Const] in {
3168+ let Features = " avx512f" , Attributes = [NoThrow, Const, Constexpr ] in {
31693169 def kshiftrihi : X86Builtin<" unsigned short(unsigned short, _Constant unsigned int)" >;
31703170}
31713171
3172- let Features = " avx512bw" , Attributes = [NoThrow, Const] in {
3172+ let Features = " avx512bw" , Attributes = [NoThrow, Const, Constexpr ] in {
31733173 def kshiftrisi : X86Builtin<" unsigned int(unsigned int, _Constant unsigned int)" >;
31743174 def kshiftridi : X86Builtin<" unsigned long long int(unsigned long long int, _Constant unsigned int)" >;
31753175}
0 commit comments