]> granicus.if.org Git - clang/commitdiff
Fix buildbot: make this test less dependent on the value names in the produced IR.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 2 Mar 2012 03:22:38 +0000 (03:22 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Fri, 2 Mar 2012 03:22:38 +0000 (03:22 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151880 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/const-init-cxx11.cpp

index 776a1e12ddbd280537ec187cd5ceae5d036202c0..e2a11c295f059741ddaf45fdd940ee6be1f85f94 100644 (file)
@@ -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