OSDN Git Service

Fix bot failure from 59733525d37cf9ad88b5021b33ecdbaf2e18911c
authorTeresa Johnson <tejohnson@google.com>
Fri, 24 Jan 2020 00:33:35 +0000 (16:33 -0800)
committerTeresa Johnson <tejohnson@google.com>
Fri, 24 Jan 2020 00:34:34 +0000 (16:34 -0800)
Fix bot failure by loosening up the register matching on new test:
http://lab.llvm.org:8011/builders/clang-x86_64-debian-new-pass-manager-fast/builds/2423

clang/test/CodeGenCXX/thinlto-distributed-type-metadata.cpp

index 7e1cedf..a6c0da2 100644 (file)
@@ -22,7 +22,7 @@
 // OPT-NOT: call void @llvm.assume
 // We should have only one @llvm.assume call, the one that was expanded
 // from the builtin in the IR below, not the one fed by the type test.
-// OPT: %cmp = icmp ne %struct.A* %0, null
+// OPT: %cmp = icmp ne %struct.A* %{{.*}}, null
 // OPT: void @llvm.assume(i1 %cmp)
 // Check after the builtin assume again that we don't have a type test assume
 // sequence.