summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bindings/llvm-c
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 /llvm/test/Bindings/llvm-c
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 'llvm/test/Bindings/llvm-c')
-rw-r--r--llvm/test/Bindings/llvm-c/debug_info.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Bindings/llvm-c/debug_info.ll b/llvm/test/Bindings/llvm-c/debug_info.ll
index 740f18fdc90..6cddd1ac29a 100644
--- a/llvm/test/Bindings/llvm-c/debug_info.ll
+++ b/llvm/test/Bindings/llvm-c/debug_info.ll
@@ -3,7 +3,7 @@
; CHECK: ; ModuleID = 'debuginfo.c'
; CHECK-NEXT: source_filename = "debuginfo.c"
-; CHECK: define i64 @foo(i64, i64, <10 x i64>) !dbg !20 {
+; CHECK: define i64 @foo(i64 %0, i64 %1, <10 x i64> %2) !dbg !20 {
; CHECK-NEXT: entry:
; CHECK-NEXT: call void @llvm.dbg.declare(metadata i64 0, metadata !27, metadata !DIExpression()), !dbg !32
; CHECK-NEXT: call void @llvm.dbg.declare(metadata i64 0, metadata !28, metadata !DIExpression()), !dbg !32
OpenPOWER on IntegriCloud