From: Richard Smith Date: Fri, 2 Mar 2012 03:22:38 +0000 (+0000) Subject: Fix buildbot: make this test less dependent on the value names in the produced IR. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0524171a57e6f9f6ee79c02ed4e20c5914d8b2db;p=clang Fix buildbot: make this test less dependent on the value names in the produced IR. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151880 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/const-init-cxx11.cpp b/test/CodeGenCXX/const-init-cxx11.cpp index 776a1e12dd..e2a11c295f 100644 --- a/test/CodeGenCXX/const-init-cxx11.cpp +++ b/test/CodeGenCXX/const-init-cxx11.cpp @@ -345,8 +345,8 @@ namespace Unreferenced { // We must not emit a load of 'p' here, since it's not odr-used. int q = *p; // CHECK-NOT: _ZN12Unreferenced1pE - // CHECK: %0 = load i32* @_ZN12Unreferenced1nE - // CHECK-NEXT: store i32 %0, i32* @_ZN12Unreferenced1qE + // CHECK: = load i32* @_ZN12Unreferenced1nE + // CHECK-NEXT: store i32 {{.*}}, i32* @_ZN12Unreferenced1qE // CHECK-NOT: _ZN12Unreferenced1pE // Technically, we are not required to substitute variables of reference types