Skip to content

Commit 30b5331

Browse files
committed
[clang][codegen][NFC] Make test patterns more permissive.
See the discussion in: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20190909/692736.html llvm-svn: 371522
1 parent fef1cb1 commit 30b5331

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/CodeGenCXX/auto-var-init.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,8 +1042,7 @@ TEST_UNINIT(intptr4, int*[4]);
10421042
// CHECK: %uninit = alloca [4 x i32*], align
10431043
// CHECK-NEXT: call void @{{.*}}used{{.*}}%uninit)
10441044
// PATTERN-O1-LABEL: @test_intptr4_uninit()
1045-
// PATTERN-O1: %1 = bitcast [4 x i32*]* %uninit to i8*
1046-
// PATTERN-O1-NEXT: call void @llvm.memset.p0i8.i64(i8* nonnull align 16 dereferenceable(32) %1, i8 -86, i64 32, i1 false)
1045+
// PATTERN-O1: call void @llvm.memset.p0i8.i64(i8* nonnull align 16 dereferenceable(32) %{{[0-9*]}}, i8 -86, i64 32, i1 false)
10471046
// ZERO-LABEL: @test_intptr4_uninit()
10481047
// ZERO: call void @llvm.memset{{.*}}, i8 0,
10491048

0 commit comments

Comments
 (0)