Skip to content

Commit

Permalink
[CodeGen] Fix test on 32-bit targets (NFC)
Browse files Browse the repository at this point in the history
The range here will be different for 32-bit targets. Use a wildcard,
just like all te other target-sensitive parts in this test.
  • Loading branch information
nikic committed Mar 20, 2024
1 parent 2ac85d8 commit 3eb8063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/test/CodeGenCXX/copy-constructor-synthesis-2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ struct A { virtual void a(); };
A x(A& y) { return y; }

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

0 comments on commit 3eb8063

Please sign in to comment.