diff clang/test/CodeGen/mrtd.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children c4bab56944e8
line wrap: on
line diff
--- a/clang/test/CodeGen/mrtd.c	Mon May 25 11:55:54 2020 +0900
+++ b/clang/test/CodeGen/mrtd.c	Tue Jun 08 06:07:14 2021 +0900
@@ -4,7 +4,7 @@
 
 void baz(int arg);
 
-// CHECK: define x86_stdcallcc void @foo(i32 %arg) [[NUW:#[0-9]+]]
+// CHECK: define{{.*}} x86_stdcallcc void @foo(i32 %arg) [[NUW:#[0-9]+]]
 void foo(int arg) {
 // CHECK: call x86_stdcallcc i32 bitcast (i32 (...)* @bar to i32 (i32)*)(
   bar(arg);
@@ -17,12 +17,12 @@
 // CHECK: declare x86_stdcallcc void @baz(i32)
 
 void qux(int arg, ...) { }
-// CHECK: define void @qux(i32 %arg, ...)
+// CHECK: define{{.*}} void @qux(i32 %arg, ...)
 
 void quux(int a1, int a2, int a3) {
   qux(a1, a2, a3);
 }
-// CHECK-LABEL: define x86_stdcallcc void @quux
+// CHECK-LABEL: define{{.*}} x86_stdcallcc void @quux
 // CHECK: call void (i32, ...) @qux
 
 // CHECK: attributes [[NUW]] = { noinline nounwind{{.*}} }