diff options
author | Tim Northover <tnorthover@apple.com> | 2019-08-03 14:28:34 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2019-08-03 14:28:34 +0000 |
commit | a009a60a917bc30940422bcef73f8270566d78db (patch) | |
tree | 585c11f151ecd35dd07677ae76c12aee922c9a7f /clang/test/CodeGen/ppc64-align-struct.c | |
parent | 6bf861298a117f82f453021bc355a1fe38ca818b (diff) | |
download | bcm5719-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/CodeGen/ppc64-align-struct.c')
-rw-r--r-- | clang/test/CodeGen/ppc64-align-struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGen/ppc64-align-struct.c b/clang/test/CodeGen/ppc64-align-struct.c index e6ca3bb6dfa..bcff4920d0c 100644 --- a/clang/test/CodeGen/ppc64-align-struct.c +++ b/clang/test/CodeGen/ppc64-align-struct.c @@ -41,7 +41,7 @@ void test6 (int x, struct test6 y) } // This case requires run-time realignment of the incoming struct -// CHECK-LABEL: define void @test7(i32 signext %x, %struct.test7* byval(%struct.test7) align 16) +// CHECK-LABEL: define void @test7(i32 signext %x, %struct.test7* byval(%struct.test7) align 16 %0) // CHECK: %y = alloca %struct.test7, align 32 // CHECK: call void @llvm.memcpy.p0i8.p0i8.i64 void test7 (int x, struct test7 y) |