Skip to content

Commit ad28b60

Browse files
committed
Move tds to existing constexpr block
1 parent cabb52f commit ad28b60

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

clang/include/clang/Basic/BuiltinsX86.td

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -536,12 +536,6 @@ let Features = "avx",
536536
def vtestnzcps : X86Builtin<"int(_Vector<4, float>, _Vector<4, float>)">;
537537
}
538538

539-
let Features = "avx",
540-
Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256>] in {
541-
def movmskpd256 : X86Builtin<"int(_Vector<4, double>)">;
542-
def movmskps256 : X86Builtin<"int(_Vector<8, float>)">;
543-
}
544-
545539
let Features = "avx",
546540
Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<256>] in {
547541
def vtestzpd256 : X86Builtin<"int(_Vector<4, double>, _Vector<4, double>)">;
@@ -554,6 +548,8 @@ let Features = "avx",
554548
def ptestc256 : X86Builtin<"int(_Vector<4, long long int>, _Vector<4, long long int>)">;
555549
def ptestnzc256
556550
: X86Builtin<"int(_Vector<4, long long int>, _Vector<4, long long int>)">;
551+
def movmskpd256 : X86Builtin<"int(_Vector<4, double>)">;
552+
def movmskps256 : X86Builtin<"int(_Vector<8, float>)">;
557553
}
558554

559555
let Features = "avx", Attributes = [NoThrow] in {

0 commit comments

Comments
 (0)