From f99dbb9e77226c2035be4e7cc458f43f46a5fb70 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 14 Dec 2010 01:33:14 +0000 Subject: [PATCH] Generalize this test to work without instruction names. llvm-svn: 121742 --- clang/test/CodeGen/may-alias.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/CodeGen/may-alias.c b/clang/test/CodeGen/may-alias.c index 66744b7ccea8..f3ea792da36c 100644 --- a/clang/test/CodeGen/may-alias.c +++ b/clang/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}