Skip to content

Commit bd96295

Browse files
committed
[Clang] Use more liberal pointer attribute wildcard in ms-intrinsics tests (NFC)
Allow arbitrary attributes, including those with arguments.
1 parent 2d6d476 commit bd96295

File tree

3 files changed

+193
-193
lines changed

3 files changed

+193
-193
lines changed

clang/test/CodeGen/X86/ms-x86-intrinsics.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ __int64 test_mul128(__int64 Multiplier,
171171
__int64 *HighProduct) {
172172
return _mul128(Multiplier, Multiplicand, HighProduct);
173173
}
174-
// CHECK-X64-LABEL: define dso_local i64 @test_mul128(i64 noundef %Multiplier, i64 noundef %Multiplicand, ptr{{[a-z_ ]*}} initializes((0, 8)) %HighProduct)
174+
// CHECK-X64-LABEL: define dso_local i64 @test_mul128(i64 noundef %Multiplier, i64 noundef %Multiplicand, ptr{{.*}} initializes((0, 8)) %HighProduct)
175175
// CHECK-X64: = sext i64 %Multiplier to i128
176176
// CHECK-X64: = sext i64 %Multiplicand to i128
177177
// CHECK-X64: = mul nsw i128 %
@@ -183,7 +183,7 @@ unsigned __int64 test_umul128(unsigned __int64 Multiplier,
183183
unsigned __int64 *HighProduct) {
184184
return _umul128(Multiplier, Multiplicand, HighProduct);
185185
}
186-
// CHECK-X64-LABEL: define dso_local i64 @test_umul128(i64 noundef %Multiplier, i64 noundef %Multiplicand, ptr{{[a-z_ ]*}} initializes((0, 8)) %HighProduct)
186+
// CHECK-X64-LABEL: define dso_local i64 @test_umul128(i64 noundef %Multiplier, i64 noundef %Multiplicand, ptr{{.*}} initializes((0, 8)) %HighProduct)
187187
// CHECK-X64: = zext i64 %Multiplier to i128
188188
// CHECK-X64: = zext i64 %Multiplicand to i128
189189
// CHECK-X64: = mul nuw i128 %

0 commit comments

Comments
 (0)