Skip to content

Commit 4c470de

Browse files
author
klensy
committed
add more fixes
1 parent f6a4aca commit 4c470de

File tree

91 files changed

+375
-375
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+375
-375
lines changed

clang/test/AST/ast-crash-doc-function-template.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: rm -rf %t
22
// RUN: split-file %s %t
33

4-
// RUN: %clang_cc1 -x c++ -Wdocumentation -ast-dump-all %t/t.cpp
4+
// RUN: %clang_cc1 -x c++ -Wdocumentation -ast-dump-all %t/t.cpp | FileCheck %s
55

66
//--- t.h
77
/// MyClass in the header file

clang/test/AST/ast-dump-attr-type.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ using Ty1 = decltype(y);
1919
// CHECK-NEXT: |-DeclRefExpr 0x{{[^ ]*}} <col:22> '__attribute__((address_space(3))) int *' lvalue Var 0x{{[^ ]*}} 'y' '__attribute__((address_space(3))) int *' non_odr_use_unevaluated
2020
// CHECK-NEXT: `-PointerType 0x{{[^ ]*}} '__attribute__((address_space(3))) int *'
2121
// CHECK-NEXT: `-AttributedType 0x{{[^ ]*}} '__attribute__((address_space(3))) int' sugar
22-
// CHECK-NEXT |-BuiltinType 0x{{[^ ]*}} 'int'
23-
// CHECK-NEXT `-QualType 0x{{[^ ]*}} '__attribute__((address_space(3))) int' __attribute__((address_space(3)))
24-
// CHECK-NEXT `-BuiltinType 0x{{[^ ]*}} 'int'
22+
// CHECK-NEXT: |-BuiltinType 0x{{[^ ]*}} 'int'
23+
// CHECK-NEXT: `-QualType 0x{{[^ ]*}} '__attribute__((address_space(3))) int' __attribute__((address_space(3)))
24+
// CHECK-NEXT: `-BuiltinType 0x{{[^ ]*}} 'int'

clang/test/AST/ast-dump-decl.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ enum TestEnumDeclForward;
7373
// CHECK: EnumDecl{{.*}} TestEnumDeclForward
7474

7575
__module_private__ enum TestEnumDeclPrivate;
76-
// CHECK-MODULE: EnumDecl{{.*}} TestEnumDeclPrivate __module_private__
76+
// CHECK-MODULES: EnumDecl{{.*}} TestEnumDeclPrivate __module_private__
7777

7878
struct TestRecordDecl {
7979
int i;
@@ -103,7 +103,7 @@ struct TestRecordDeclForward;
103103
// CHECK: RecordDecl{{.*}} struct TestRecordDeclForward
104104

105105
__module_private__ struct TestRecordDeclPrivate;
106-
// CHECK-MODULE: RecordDecl{{.*}} struct TestRecordDeclPrivate __module_private__
106+
// CHECK-MODULES: RecordDecl{{.*}} struct TestRecordDeclPrivate __module_private__
107107

108108
enum testEnumConstantDecl {
109109
TestEnumConstantDecl,
@@ -163,7 +163,7 @@ struct testFieldDecl {
163163
// CHECK-NEXT: ConstantExpr
164164
// CHECK-NEXT: value: Int 1
165165
// CHECK-NEXT: IntegerLiteral
166-
// CHECK-MODULE: FieldDecl{{.*}} TestFieldDeclPrivate 'int' __module_private__
166+
// CHECK-MODULES: FieldDecl{{.*}} TestFieldDeclPrivate 'int' __module_private__
167167

168168
int TestVarDecl;
169169
// CHECK: VarDecl{{.*}} TestVarDecl 'int'
@@ -175,7 +175,7 @@ __thread int TestVarDeclThread;
175175
// CHECK: VarDecl{{.*}} TestVarDeclThread 'int' tls{{$}}
176176

177177
__module_private__ int TestVarDeclPrivate;
178-
// CHECK-MODULE: VarDecl{{.*}} TestVarDeclPrivate 'int' __module_private__
178+
// CHECK-MODULES: VarDecl{{.*}} TestVarDeclPrivate 'int' __module_private__
179179

180180
int TestVarDeclInit = 0;
181181
// CHECK: VarDecl{{.*}} TestVarDeclInit 'int'

clang/test/AST/ast-dump-recovery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void InvalidInitalizer(int x) {
180180
// CHECK: `-VarDecl {{.*}} a3 'Bar'
181181
// CHECK-NEXT: `-RecoveryExpr {{.*}} contains-errors
182182
// CHECK-NEXT: `-InitListExpr
183-
// CHECK-NEDT: `-DeclRefExpr {{.*}} 'x'
183+
// CHECK-NEXT: `-DeclRefExpr {{.*}} 'x'
184184
Bar a3{x};
185185
// CHECK: `-VarDecl {{.*}} a4 'Bar'
186186
// CHECK-NEXT: `-ParenListExpr {{.*}} 'NULL TYPE' contains-errors

clang/test/AST/ast-dump-using-template.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ using A = S<T>;
2222
// CHECK-NEXT: `-ElaboratedType {{.*}} 'S<T>' sugar dependent
2323
// CHECK-NEXT: `-TemplateSpecializationType {{.*}} 'S<T>' dependent
2424
// CHECK-NEXT: |-name: 'S':'ns::S' qualified
25-
// CHECk-NEXT: | |-UsingShadowDecl {{.+}} ClassTemplate {{.+}} 'S'
25+
// CHECK-NEXT: | |-UsingShadowDecl {{.+}} ClassTemplate {{.+}} 'S'
2626

2727
// TemplateName in TemplateArgument.
2828
template <template <typename> class T> class X {};
@@ -55,4 +55,4 @@ using D = decltype(DeducedTemplateSpecializationT2);
5555
// CHECK-NEXT: `-ElaboratedType {{.*}} 'S2<int>' sugar
5656
// CHECK-NEXT: `-DeducedTemplateSpecializationType {{.*}} 'S2<int>' sugar
5757
// CHECK-NEXT: |-name: 'S2':'ns::S2' qualified
58-
//CHECk-NEXT: | |-UsingShadowDecl {{.+}} ClassTemplate {{.+}} 'S2'
58+
//CHECK-NEXT: | |-UsingShadowDecl {{.+}} ClassTemplate {{.+}} 'S2'

clang/test/AST/conditionally-trivial-smfs.cpp

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -222,61 +222,61 @@ template struct CopyAssignmentCheck<1>;
222222
// CHECK: "definitionData": {
223223
// CHECK-NEXT: "canConstDefaultInit": true,
224224
// CHECK-NEXT: "canPassInRegisters": true,
225-
// CHECK-NEXT "copyAssign": {
226-
// CHECK-NEXT "hasConstParam": true,
227-
// CHECK-NEXT "implicitHasConstParam": true,
228-
// CHECK-NEXT "trivial": true,
229-
// CHECK-NEXT "userDeclared": true
230-
// CHECK-NEXT },
225+
// CHECK-NEXT: "copyAssign": {
226+
// CHECK-NEXT: "hasConstParam": true,
227+
// CHECK-NEXT: "implicitHasConstParam": true,
228+
// CHECK-NEXT: "trivial": true,
229+
// CHECK-NEXT: "userDeclared": true
230+
// CHECK-NEXT: },
231231

232232
// CHECK: "hasConstexprNonCopyMoveConstructor": true,
233-
// CHECK-NEXT "isAggregate": true,
234-
// CHECK-NEXT "isEmpty": true,
235-
// CHECK-NEXT "isLiteral": true,
236-
// CHECK-NEXT "isStandardLayout": true,
237-
// CHECK-NEXT "isTrivial": true,
238-
// CHECK-NEXT "isTriviallyCopyable": true,
239-
// CHECK-NEXT "moveAssign": {},
233+
// CHECK-NEXT: "isAggregate": true,
234+
// CHECK-NEXT: "isEmpty": true,
235+
// CHECK-NEXT: "isLiteral": true,
236+
// CHECK-NEXT: "isStandardLayout": true,
237+
// CHECK-NEXT: "isTrivial": true,
238+
// CHECK-NEXT: "isTriviallyCopyable": true,
239+
// CHECK-NEXT: "moveAssign": {},
240240

241241
template struct CopyAssignmentCheck<2>;
242242
// CHECK: "kind": "ClassTemplateSpecializationDecl",
243243
// CHECK: "definitionData": {
244244
// CHECK-NEXT: "canConstDefaultInit": true,
245245
// CHECK-NEXT: "canPassInRegisters": true,
246-
// CHECK-NEXT "copyAssign": {
247-
// CHECK-NEXT "hasConstParam": true,
248-
// CHECK-NEXT "implicitHasConstParam": true,
249-
// CHECK-NEXT "trivial": true,
250-
// CHECK-NEXT "userDeclared": true
251-
// CHECK-NEXT },
246+
// CHECK-NEXT: "copyAssign": {
247+
// CHECK-NEXT: "hasConstParam": true,
248+
// CHECK-NEXT: "implicitHasConstParam": true,
249+
// CHECK-NEXT: "trivial": true,
250+
// CHECK-NEXT: "userDeclared": true
251+
// CHECK-NEXT: },
252252

253253
// CHECK: "hasConstexprNonCopyMoveConstructor": true,
254-
// CHECK-NEXT "isAggregate": true,
255-
// CHECK-NEXT "isEmpty": true,
256-
// CHECK-NEXT "isLiteral": true,
257-
// CHECK-NEXT "isStandardLayout": true,
258-
// CHECK-NEXT "isTrivial": true,
259-
// CHECK-NEXT "isTriviallyCopyable": true,
260-
// CHECK-NEXT "moveAssign": {},
254+
// CHECK-NEXT: "isAggregate": true,
255+
// CHECK-NEXT: "isEmpty": true,
256+
// CHECK-NEXT: "isLiteral": true,
257+
// CHECK-NEXT: "isStandardLayout": true,
258+
// CHECK-NEXT: "isTrivial": true,
259+
// CHECK-NEXT: "isTriviallyCopyable": true,
260+
// CHECK-NEXT: "moveAssign": {},
261261

262262
template struct CopyAssignmentCheck<3>;
263263
// CHECK: "kind": "ClassTemplateSpecializationDecl",
264264
// CHECK: "definitionData": {
265265
// CHECK-NEXT: "canConstDefaultInit": true,
266266
// CHECK-NEXT: "canPassInRegisters": true,
267-
// CHECK-NEXT "copyAssign": {
268-
// CHECK-NEXT "hasConstParam": true,
269-
// CHECK-NEXT "implicitHasConstParam": true,
270-
// CHECK-NEXT "trivial": true,
271-
// CHECK-NEXT "userDeclared": true
272-
// CHECK-NEXT },
267+
// CHECK-NEXT: "copyAssign": {
268+
// CHECK-NEXT: "hasConstParam": true,
269+
// CHECK-NEXT: "implicitHasConstParam": true,
270+
// CHECK-NEXT: "trivial": true,
271+
// CHECK-NEXT: "userDeclared": true
272+
// CHECK-NEXT: },
273273

274274
// CHECK: "hasConstexprNonCopyMoveConstructor": true,
275-
// CHECK-NEXT "isAggregate": true,
276-
// CHECK-NEXT "isEmpty": true,
277-
// CHECK-NEXT "isLiteral": true,
278-
// CHECK-NEXT "isStandardLayout": true,
279-
// CHECK-NEXT "moveAssign": {},
275+
// CHECK-NEXT: "isAggregate": true,
276+
// CHECK-NEXT: "isEmpty": true,
277+
// CHECK-NEXT: "isLiteral": true,
278+
// CHECK-NEXT: "isStandardLayout": true,
279+
// CHECK-NEXT: "moveAssign": {},
280280

281281
template <int N>
282282
struct MoveAssignmentCheck {

clang/test/Analysis/cast-value-notes.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ void evalReferences(const Shape &S) {
7777
// expected-note@-2 {{Dereference of null pointer}}
7878
// expected-warning@-3 {{Dereference of null pointer}}
7979
clang_analyzer_printState();
80-
// XX86-CHECK: "dynamic_types": [
81-
// XX86-CHECK-NEXT: { "region": "SymRegion{reg_$0<const struct clang::Shape & S>}", "dyn_type": "const class clang::Circle &", "sub_classable": true }
80+
// X86-CHECK: "dynamic_types": [
81+
// X86-CHECK-NEXT: { "region": "SymRegion{reg_$0<const Shape & S>}", "dyn_type": "const class clang::Circle &", "sub_classable": true }
8282
(void)C;
8383
}
8484
#if defined(SUPPRESSED)

clang/test/C/C11/n1311.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -emit-llvm -o - %s
1+
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
22

33
/* WG14 N1311: Yes
44
* Initializing static or external variables

clang/test/CodeCompletion/function-overloads.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ void test_adl() {
3939
// RUN: FileCheck -check-prefix=CHECK-CC1 %s
4040
// CHECK-CC1: OVERLOAD: [#int#]f(<#float x#>, float y)
4141
// CHECK-CC1: OVERLOAD: [#int#]f(<#int i#>)
42-
// CHECK-CC1-NOT, CHECK-CC2-NOT: OVERLOAD: A(
42+
// CHECK-CC1-NOT: CHECK-CC2-NOT: OVERLOAD: A(
4343
// CHECK-CC2: OVERLOAD: [#int#]f(float x, float y)
4444
// CHECK-CC2-NOT: OVERLOAD: [#int#]f(int i)
4545
// CHECK-CC3: OVERLOAD: A(<#int#>, int, int)

clang/test/CodeGen/64bit-swiftcall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ typedef struct {
10021002
TEST(padded_alloc_size_vector)
10031003
// X86-64-LABEL: take_padded_alloc_size_vector(<3 x i32> %0, i64 %1)
10041004
// X86-64-NOT: [4 x i8]
1005-
// x86-64: ret void
1005+
// X86-64: ret void
10061006

10071007
typedef union {
10081008
float f1;

clang/test/CodeGen/PowerPC/builtins-ppc-altivec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ void test1() {
535535

536536
res_vi = vec_and(vbi, vi);
537537
// CHECK: and <4 x i32>
538-
// CHECK-le: and <4 x i32>
538+
// CHECK-LE: and <4 x i32>
539539

540540
res_vi = vec_and(vi, vbi);
541541
// CHECK: and <4 x i32>

clang/test/CodeGen/PowerPC/builtins-ppc-int128.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@ unsigned long long aull[2] = { 1L, 2L };
1313

1414
void testVectorInt128Pack(){
1515
// CHECK-LABEL: testVectorInt128Pack
16-
// CHECK-LABEL-LE: testVectorInt128Pack
16+
// CHECK-LE-LABEL: testVectorInt128Pack
1717
res_vslll = __builtin_pack_vector_int128(aull[0], aull[1]);
1818
// CHECK: %[[V1:[0-9]+]] = insertelement <2 x i64> poison, i64 %{{[0-9]+}}, i64 0
1919
// CHECK-NEXT: %[[V2:[0-9]+]] = insertelement <2 x i64> %[[V1]], i64 %{{[0-9]+}}, i64 1
2020

2121
// CHECK-LE: %[[V1:[0-9]+]] = insertelement <2 x i64> poison, i64 %{{[0-9]+}}, i64 1
22-
// CHECK-NEXT-LE: %[[V2:[0-9]+]] = insertelement <2 x i64> %[[V1]], i64 %{{[0-9]+}}, i64 0
23-
// CHECK-NEXT-LE: bitcast <2 x i64> %[[V2]] to <1 x i128>
22+
// CHECK-LE-NEXT: %[[V2:[0-9]+]] = insertelement <2 x i64> %[[V1]], i64 %{{[0-9]+}}, i64 0
23+
// CHECK-LE-NEXT: bitcast <2 x i64> %[[V2]] to <1 x i128>
2424

2525
__builtin_unpack_vector_int128(res_vslll, 0);
2626
// CHECK: %[[V1:[0-9]+]] = bitcast <1 x i128> %{{[0-9]+}} to <2 x i64>
2727
// CHECK-NEXT: %{{[0-9]+}} = extractelement <2 x i64> %[[V1]], i32 0
2828

2929
// CHECK-LE: %[[V1:[0-9]+]] = bitcast <1 x i128> %{{[0-9]+}} to <2 x i64>
30-
// CHECK-NEXT-LE: %{{[0-9]+}} = extractelement <2 x i64> %[[V1]], i32 1
30+
// CHECK-LE-NEXT: %{{[0-9]+}} = extractelement <2 x i64> %[[V1]], i32 1
3131

3232
__builtin_unpack_vector_int128(res_vslll, 1);
3333
// CHECK: %[[V1:[0-9]+]] = bitcast <1 x i128> %{{[0-9]+}} to <2 x i64>
3434
// CHECK-NEXT: %{{[0-9]+}} = extractelement <2 x i64> %[[V1]], i32 1
3535

3636
// CHECK-LE: %[[V1:[0-9]+]] = bitcast <1 x i128> %{{[0-9]+}} to <2 x i64>
37-
// CHECK-NEXT-LE: %{{[0-9]+}} = extractelement <2 x i64> %[[V1]], i32 0
37+
// CHECK-LE-NEXT: %{{[0-9]+}} = extractelement <2 x i64> %[[V1]], i32 0
3838
}
3939

clang/test/CodeGen/PowerPC/builtins-ppc-p8vector.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ void test1() {
11911191
res_vsll = vec_neg(vsll);
11921192
// CHECK: sub <2 x i64> zeroinitializer, {{%[0-9]+}}
11931193
// CHECK-LE: sub <2 x i64> zeroinitializer, {{%[0-9]+}}
1194-
// CHECK_PPC: call to 'vec_neg' is ambiguous
1194+
// CHECK-PPC: call to 'vec_neg' is ambiguous
11951195

11961196

11971197
}

clang/test/CodeGen/PowerPC/builtins-ppc-p9vector.c

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -996,30 +996,30 @@ vector bool long long test87(void) {
996996
}
997997
vector unsigned char test88(void) {
998998
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
999-
// CHECK-BE-NEXT-NEXT: ret <16 x i8>
999+
// CHECK-BE-NEXT: ret <16 x i8>
10001000
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1001-
// CHECK-NEXT-NEXT: ret <16 x i8>
1001+
// CHECK-NEXT: ret <16 x i8>
10021002
return vec_xl_len(uc,0);
10031003
}
10041004
vector signed char test89(void) {
10051005
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1006-
// CHECK-BE-NEXT-NEXT: ret <16 x i8>
1006+
// CHECK-BE-NEXT: ret <16 x i8>
10071007
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1008-
// CHECK-NEXT-NEXT: ret <16 x i8>
1008+
// CHECK-NEXT: ret <16 x i8>
10091009
return vec_xl_len(sc,0);
10101010
}
10111011
vector unsigned short test90(void) {
10121012
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1013-
// CHECK-BE-NEXT-NEXT: ret <8 x i16>
1013+
// CHECK-BE-NEXT: ret <8 x i16>
10141014
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1015-
// CHECK-NEXT-NEXT: ret <8 x i16>
1015+
// CHECK-NEXT: ret <8 x i16>
10161016
return vec_xl_len(us,0);
10171017
}
10181018
vector signed short test91(void) {
10191019
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1020-
// CHECK-BE-NEXT-NEXT: ret <8 x i16>
1020+
// CHECK-BE-NEXT: ret <8 x i16>
10211021
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1022-
// CHECK-NEXT-NEXT: ret <8 x i16>
1022+
// CHECK-NEXT: ret <8 x i16>
10231023
return vec_xl_len(ss,0);
10241024
}
10251025
vector unsigned int test92(void) {
@@ -1040,49 +1040,49 @@ vector signed int test93(void) {
10401040

10411041
vector float test94(void) {
10421042
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1043-
// CHECK-BE-NEXT-NEXT: ret <4 x i32>
1043+
// CHECK-BE-NEXT: ret <4 x i32>
10441044
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1045-
// CHECK-NEXT-NEXT: ret <4 x i32>
1045+
// CHECK-NEXT: ret <4 x i32>
10461046
return vec_xl_len(f,0);
10471047
}
10481048

10491049
vector unsigned long long test95(void) {
10501050
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1051-
// CHECK-BE-NEXT-NEXT: ret <2 x i64>
1051+
// CHECK-BE-NEXT: ret <2 x i64>
10521052
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1053-
// CHECK-NEXT-NEXT: ret <2 x i64>
1053+
// CHECK-NEXT: ret <2 x i64>
10541054
return vec_xl_len(ull,0);
10551055
}
10561056

10571057
vector signed long long test96(void) {
10581058
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1059-
// CHECK-BE-NEXT-NEXT: ret <2 x i64>
1059+
// CHECK-BE-NEXT: ret <2 x i64>
10601060
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1061-
// CHECK-NEXT-NEXT: ret <2 x i64>
1061+
// CHECK-NEXT: ret <2 x i64>
10621062
return vec_xl_len(sll,0);
10631063
}
10641064

10651065
vector double test97(void) {
10661066
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1067-
// CHECK-BE-NEXT-NEXT: ret <2 x i64>
1067+
// CHECK-BE-NEXT: ret <2 x i64>
10681068
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1069-
// CHECK-NEXT-NEXT: ret <2 x i64>
1069+
// CHECK-NEXT: ret <2 x i64>
10701070
return vec_xl_len(d,0);
10711071
}
10721072

10731073
vector unsigned __int128 test98(void) {
10741074
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1075-
// CHECK-BE-NEXT-NEXT: ret <1 x i128>
1075+
// CHECK-BE-NEXT: ret <1 x i128>
10761076
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1077-
// CHECK-NEXT-NEXT: ret <1 x i128>
1077+
// CHECK-NEXT: ret <1 x i128>
10781078
return vec_xl_len(uint128,0);
10791079
}
10801080

10811081
vector signed __int128 test99(void) {
10821082
// CHECK-BE: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1083-
// CHECK-BE-NEXT-NEXT: ret <1 x i128>
1083+
// CHECK-BE-NEXT: ret <1 x i128>
10841084
// CHECK: @llvm.ppc.vsx.lxvl(ptr %{{.+}}, i64
1085-
// CHECK-NEXT-NEXT: ret <1 x i128>
1085+
// CHECK-NEXT: ret <1 x i128>
10861086
return vec_xl_len(sint128,0);
10871087
}
10881088

0 commit comments

Comments
 (0)