summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenObjC/weak-in-c-struct.m
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2019-08-03 14:28:34 +0000
committerTim Northover <tnorthover@apple.com>2019-08-03 14:28:34 +0000
commita009a60a917bc30940422bcef73f8270566d78db (patch)
tree585c11f151ecd35dd07677ae76c12aee922c9a7f /clang/test/CodeGenObjC/weak-in-c-struct.m
parent6bf861298a117f82f453021bc355a1fe38ca818b (diff)
downloadbcm5719-llvm-a009a60a917bc30940422bcef73f8270566d78db.tar.gz
bcm5719-llvm-a009a60a917bc30940422bcef73f8270566d78db.zip
IR: print value numbers for unnamed function arguments
For consistency with normal instructions and clarity when reading IR, it's best to print the %0, %1, ... names of function arguments in definitions. Also modifies the parser to accept IR in that form for obvious reasons. llvm-svn: 367755
Diffstat (limited to 'clang/test/CodeGenObjC/weak-in-c-struct.m')
-rw-r--r--clang/test/CodeGenObjC/weak-in-c-struct.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenObjC/weak-in-c-struct.m b/clang/test/CodeGenObjC/weak-in-c-struct.m
index 1b2d860fc3b..001a7ed96de 100644
--- a/clang/test/CodeGenObjC/weak-in-c-struct.m
+++ b/clang/test/CodeGenObjC/weak-in-c-struct.m
@@ -101,7 +101,7 @@ void test_copy_assignment_Weak(Weak *d, Weak *s) {
*d = *s;
}
-// ARM64: define internal void @__Block_byref_object_copy_(i8*, i8*)
+// ARM64: define internal void @__Block_byref_object_copy_(i8* %0, i8* %1)
// ARM64: call void @__move_constructor_8_8_t0w4_w8(i8** %{{.*}}, i8** %{{.*}})
// ARM64: define linkonce_odr hidden void @__move_constructor_8_8_t0w4_w8(i8** %[[DST:.*]], i8** %[[SRC:.*]])
OpenPOWER on IntegriCloud