aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-12-14 01:33:14 +0000
committerDan Gohman <gohman@apple.com>2010-12-14 01:33:14 +0000
commit54eeba75d3914e457204a159a7888fc19e50a6dc (patch)
tree0970af747e2811a9fa2c649a20e111820ecc7392
parent2ea7e73361c11f061e00caa8d9e71e84e6dd8554 (diff)
Generalize this test to work without instruction names.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121742 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CodeGen/may-alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/may-alias.c b/test/CodeGen/may-alias.c
index 66744b7cce..f3ea792da3 100644
--- a/test/CodeGen/may-alias.c
+++ b/test/CodeGen/may-alias.c
@@ -12,8 +12,8 @@ void test0(aliasing_int *ai, int *i)
*i = 1;
}
-// CHECK: store i32 0, i32* %tmp, !tbaa !1
-// CHECK: store i32 1, i32* %tmp1, !tbaa !3
+// CHECK: store i32 0, i32* %{{.*}}, !tbaa !1
+// CHECK: store i32 1, i32* %{{.*}}, !tbaa !3
// CHECK: !0 = metadata !{metadata !"any pointer", metadata !1}
// CHECK: !1 = metadata !{metadata !"omnipotent char", metadata !2}