Skip to content

Commit 3eb8063

Browse files
committed
[CodeGen] Fix test on 32-bit targets (NFC)
The range here will be different for 32-bit targets. Use a wildcard, just like all te other target-sensitive parts in this test.
1 parent 2ac85d8 commit 3eb8063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ struct A { virtual void a(); };
2424
A x(A& y) { return y; }
2525

2626
// CHECK: define linkonce_odr {{.*}} @_ZN1AC1ERKS_(ptr {{.*}}%this, ptr noundef nonnull align {{[0-9]+}} dereferenceable({{[0-9]+}}) %0) unnamed_addr
27-
// CHECK: store ptr getelementptr inbounds inrange(-16, 8) ({ [3 x ptr] }, ptr @_ZTV1A, i32 0, i32 0, i32 2)
27+
// CHECK: store ptr getelementptr inbounds inrange(-{{[0-9]+}}, {{[0-9]+}}) ({ [3 x ptr] }, ptr @_ZTV1A, i32 0, i32 0, i32 2)

0 commit comments

Comments
 (0)