Skip to content

Commit f04932c

Browse files
committed
Commit changes for clang-format
1 parent dc03a37 commit f04932c

File tree

3 files changed

+35
-37
lines changed

3 files changed

+35
-37
lines changed

clang/include/clang/Basic/BuiltinsX86.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ let Features = "avx", Attributes = [NoThrow, Const, RequiredVectorWidth<256>] in
521521
def roundps256 : X86Builtin<"_Vector<8, float>(_Vector<8, float>, _Constant int)">;
522522
}
523523

524-
525524
let Features = "avx",
526525
Attributes = [NoThrow, Const, Constexpr, RequiredVectorWidth<128>] in {
527526
def vtestzpd : X86Builtin<"int(_Vector<2, double>, _Vector<2, double>)">;

clang/lib/AST/ByteCode/InterpBuiltin.cpp

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3580,36 +3580,35 @@ bool InterpretBuiltin(InterpState &S, CodePtr OpPC, const CallExpr *Call,
35803580
S, OpPC, Call, [](const APSInt &F, const APSInt &T, const APSInt &C) {
35813581
return ((APInt)C).isNegative() ? T : F;
35823582
});
3583-
3584-
case X86::BI__builtin_ia32_ptestz128: {
35853583

3584+
case X86::BI__builtin_ia32_ptestz128: {
35863585
}
35873586

3588-
// case X86::BI__builtin_ia32_ptestz256:
3587+
// case X86::BI__builtin_ia32_ptestz256:
35893588

3590-
// case X86::BI__builtin_ia32_ptestc128:
3591-
// case X86::BI__builtin_ia32_ptestc256:
3589+
// case X86::BI__builtin_ia32_ptestc128:
3590+
// case X86::BI__builtin_ia32_ptestc256:
35923591

3593-
// case X86::BI__builtin_ia32_ptestnzc128:
3594-
// case X86::BI__builtin_ia32_ptestnzc256:
3592+
// case X86::BI__builtin_ia32_ptestnzc128:
3593+
// case X86::BI__builtin_ia32_ptestnzc256:
35953594

3596-
// case X86::BI__builtin_ia32_vtestzps:
3597-
// case X86::BI__builtin_ia32_vtestzps256:
3595+
// case X86::BI__builtin_ia32_vtestzps:
3596+
// case X86::BI__builtin_ia32_vtestzps256:
35983597

3599-
// case X86::BI__builtin_ia32_vtestcps:
3600-
// case X86::BI__builtin_ia32_vtestcps256:
3598+
// case X86::BI__builtin_ia32_vtestcps:
3599+
// case X86::BI__builtin_ia32_vtestcps256:
36013600

3602-
// case X86::BI__builtin_ia32_vtestnzcps:
3603-
// case X86::BI__builtin_ia32_vtestnzcps256:
3601+
// case X86::BI__builtin_ia32_vtestnzcps:
3602+
// case X86::BI__builtin_ia32_vtestnzcps256:
36043603

3605-
// case X86::BI__builtin_ia32_vtestzpd:
3606-
// case X86::BI__builtin_ia32_vtestzpd256:
3604+
// case X86::BI__builtin_ia32_vtestzpd:
3605+
// case X86::BI__builtin_ia32_vtestzpd256:
36073606

3608-
// case X86::BI__builtin_ia32_vtestcpd:
3609-
// case X86::BI__builtin_ia32_vtestcpd256:
3607+
// case X86::BI__builtin_ia32_vtestcpd:
3608+
// case X86::BI__builtin_ia32_vtestcpd256:
36103609

3611-
// case X86::BI__builtin_ia32_vtestnzcpd:
3612-
// case X86::BI__builtin_ia32_vtestnzcpd256:
3610+
// case X86::BI__builtin_ia32_vtestnzcpd:
3611+
// case X86::BI__builtin_ia32_vtestnzcpd256:
36133612

36143613
case X86::BI__builtin_ia32_selectb_128:
36153614
case X86::BI__builtin_ia32_selectb_256:

clang/lib/AST/ExprConstant.cpp

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12049,31 +12049,31 @@ bool VectorExprEvaluator::VisitCallExpr(const CallExpr *E) {
1204912049
return Success(APValue(Result), E);
1205012050
}
1205112051

12052-
// case X86::BI__builtin_ia32_ptestz256:
12052+
// case X86::BI__builtin_ia32_ptestz256:
1205312053

12054-
// case X86::BI__builtin_ia32_ptestc128:
12055-
// case X86::BI__builtin_ia32_ptestc256:
12054+
// case X86::BI__builtin_ia32_ptestc128:
12055+
// case X86::BI__builtin_ia32_ptestc256:
1205612056

12057-
// case X86::BI__builtin_ia32_ptestnzc128:
12058-
// case X86::BI__builtin_ia32_ptestnzc256:
12057+
// case X86::BI__builtin_ia32_ptestnzc128:
12058+
// case X86::BI__builtin_ia32_ptestnzc256:
1205912059

12060-
// case X86::BI__builtin_ia32_vtestzps:
12061-
// case X86::BI__builtin_ia32_vtestzps256:
12060+
// case X86::BI__builtin_ia32_vtestzps:
12061+
// case X86::BI__builtin_ia32_vtestzps256:
1206212062

12063-
// case X86::BI__builtin_ia32_vtestcps:
12064-
// case X86::BI__builtin_ia32_vtestcps256:
12063+
// case X86::BI__builtin_ia32_vtestcps:
12064+
// case X86::BI__builtin_ia32_vtestcps256:
1206512065

12066-
// case X86::BI__builtin_ia32_vtestnzcps:
12067-
// case X86::BI__builtin_ia32_vtestnzcps256:
12066+
// case X86::BI__builtin_ia32_vtestnzcps:
12067+
// case X86::BI__builtin_ia32_vtestnzcps256:
1206812068

12069-
// case X86::BI__builtin_ia32_vtestzpd:
12070-
// case X86::BI__builtin_ia32_vtestzpd256:
12069+
// case X86::BI__builtin_ia32_vtestzpd:
12070+
// case X86::BI__builtin_ia32_vtestzpd256:
1207112071

12072-
// case X86::BI__builtin_ia32_vtestcpd:
12073-
// case X86::BI__builtin_ia32_vtestcpd256:
12072+
// case X86::BI__builtin_ia32_vtestcpd:
12073+
// case X86::BI__builtin_ia32_vtestcpd256:
1207412074

12075-
// case X86::BI__builtin_ia32_vtestnzcpd:
12076-
// case X86::BI__builtin_ia32_vtestnzcpd256:
12075+
// case X86::BI__builtin_ia32_vtestnzcpd:
12076+
// case X86::BI__builtin_ia32_vtestnzcpd256:
1207712077

1207812078
case Builtin::BI__builtin_elementwise_ctlz:
1207912079
case Builtin::BI__builtin_elementwise_cttz: {

0 commit comments

Comments
 (0)