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 /llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll | |
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 'llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll')
-rw-r--r-- | llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll b/llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll index bf8152b69dc..7105eac516d 100644 --- a/llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll +++ b/llvm/test/Assembler/incorrect-tdep-attrs-parsing.ll @@ -1,6 +1,6 @@ ; RUN: llvm-as < %s | llvm-dis | FileCheck %s -; CHECK: define i32 @f(i64 "foo bar", i64, i64, i64 "xyz") { +; CHECK: define i32 @f(i64 "foo bar" %0, i64 %1, i64 %2, i64 "xyz" %3) { define i32 @f(i64 "foo bar", i64, i64, i64 "xyz") { ret i32 41 } |