From 37986fb993498bf8f5c37517b1b1a8f7cc0d2fc8 Mon Sep 17 00:00:00 2001 From: Clement Courbet Date: Tue, 10 Sep 2019 14:20:08 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@371522 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/auto-var-init.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/CodeGenCXX/auto-var-init.cpp b/test/CodeGenCXX/auto-var-init.cpp index f3ac26ca29..a2cb2c8352 100644 --- a/test/CodeGenCXX/auto-var-init.cpp +++ b/test/CodeGenCXX/auto-var-init.cpp @@ -1042,8 +1042,7 @@ TEST_UNINIT(intptr4, int*[4]); // CHECK: %uninit = alloca [4 x i32*], align // CHECK-NEXT: call void @{{.*}}used{{.*}}%uninit) // PATTERN-O1-LABEL: @test_intptr4_uninit() -// PATTERN-O1: %1 = bitcast [4 x i32*]* %uninit to i8* -// PATTERN-O1-NEXT: call void @llvm.memset.p0i8.i64(i8* nonnull align 16 dereferenceable(32) %1, i8 -86, i64 32, i1 false) +// PATTERN-O1: call void @llvm.memset.p0i8.i64(i8* nonnull align 16 dereferenceable(32) %{{[0-9*]}}, i8 -86, i64 32, i1 false) // ZERO-LABEL: @test_intptr4_uninit() // ZERO: call void @llvm.memset{{.*}}, i8 0, -- 2.40.0