From c46827c7eda30cd0bc3e70d08670c8dc39fe6166 Mon Sep 17 00:00:00 2001 From: Tim Northover Date: Wed, 5 Jun 2019 21:12:14 +0000 Subject: LLVM IR: Generate new-style byval-with-Type from Clang LLVM IR recently added a Type parameter to the byval Attribute, so that when pointers become opaque and no longer have an element type the information will still be present in IR. For now the Type parameter is optional (which is why Clang didn't need this change at the time), but it will become mandatory soon. llvm-svn: 362652 --- clang/test/CodeGen/renderscript.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/test/CodeGen/renderscript.c') diff --git a/clang/test/CodeGen/renderscript.c b/clang/test/CodeGen/renderscript.c index 5482d36f583..a85dc35c614 100644 --- a/clang/test/CodeGen/renderscript.c +++ b/clang/test/CodeGen/renderscript.c @@ -131,7 +131,7 @@ sLong2Char retLong2Char() { sLong2Char r; return r;} typedef struct {long l1, l2, l3, l4, l5, l6, l7, l8, l9; } sLong9; -// CHECK-RS32: void @argLong9(%struct.sLong9* byval align 8 %s) +// CHECK-RS32: void @argLong9(%struct.sLong9* byval(%struct.sLong9) align 8 %s) // CHECK-RS64: void @argLong9(%struct.sLong9* %s) void argLong9(sLong9 s) {} -- cgit v1.2.3